mirror of
https://git.yoctoproject.org/meta-ti
synced 2026-04-21 03:58:58 +00:00
multiprocmgr-test installs source files, host binaries and associated
scripts (ti/examples/mpm/test)
multiprocmgr-rtos-test installs the C66x test images in the same
directory structure.
Other updates include
- Use of oe_runmake instead of make
- Added runtime dependency of multiprocmgr-rtos-test & bash
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
35 lines
773 B
BlitzBasic
35 lines
773 B
BlitzBasic
DESCRIPTION = "TI Multiproc Manager test code"
|
|
|
|
include multiprocmgr.inc
|
|
|
|
PR = "${INC_PR}.2"
|
|
|
|
DEPENDS = "multiprocmgr cmem"
|
|
RDEPENDS_${PN} = "multiprocmgr mpm-transport cmem"
|
|
RDEPENDS_${PN} += "multiprocmgr-rtos-test bash"
|
|
|
|
CC += "-I${STAGING_KERNEL_DIR}/include"
|
|
|
|
# Assuming the multiprocmgr kernel API is safe
|
|
CC[vardepsexclude] = "STAGING_KERNEL_DIR"
|
|
|
|
FILES_${PN} += "\
|
|
${datadir}/ti/examples/mpm \
|
|
"
|
|
|
|
FILES_${PN}-dbg += "\
|
|
${datadir}/ti/examples/mpm/*/.debug \
|
|
"
|
|
|
|
do_compile() {
|
|
oe_runmake -C ${S} test
|
|
}
|
|
|
|
do_install() {
|
|
# Copy Sources and binary
|
|
install -d ${D}${datadir}/ti/examples/mpm/src
|
|
cp -r ${S}/src/mailbox ${D}${datadir}/ti/examples/mpm/src
|
|
cp -r ${S}/src/sync ${D}${datadir}/ti/examples/mpm/src
|
|
cp -r ${S}/test ${D}${datadir}/ti/examples/mpm
|
|
}
|