diff options
Diffstat (limited to 'recipes-ti/multiprocmgr/multiprocmgr-test_git.bb')
-rw-r--r-- | recipes-ti/multiprocmgr/multiprocmgr-test_git.bb | 21 |
1 files changed, 16 insertions, 5 deletions
diff --git a/recipes-ti/multiprocmgr/multiprocmgr-test_git.bb b/recipes-ti/multiprocmgr/multiprocmgr-test_git.bb index 7ec8796e..f01d6513 100644 --- a/recipes-ti/multiprocmgr/multiprocmgr-test_git.bb +++ b/recipes-ti/multiprocmgr/multiprocmgr-test_git.bb | |||
@@ -2,22 +2,33 @@ DESCRIPTION = "TI Multiproc Manager test code" | |||
2 | 2 | ||
3 | include multiprocmgr.inc | 3 | include multiprocmgr.inc |
4 | 4 | ||
5 | PR = "${INC_PR}.1" | 5 | PR = "${INC_PR}.2" |
6 | 6 | ||
7 | DEPENDS = "multiprocmgr cmem" | 7 | DEPENDS = "multiprocmgr cmem" |
8 | RDEPENDS_${PN} = "multiprocmgr mpm-transport cmem" | 8 | RDEPENDS_${PN} = "multiprocmgr mpm-transport cmem" |
9 | RDEPENDS_${PN} += "multiprocmgr-rtos-test bash" | ||
9 | 10 | ||
10 | CC += "-I${STAGING_KERNEL_DIR}/include" | 11 | CC += "-I${STAGING_KERNEL_DIR}/include" |
11 | 12 | ||
12 | # Assuming the multiprocmgr kernel API is safe | 13 | # Assuming the multiprocmgr kernel API is safe |
13 | CC[vardepsexclude] = "STAGING_KERNEL_DIR" | 14 | CC[vardepsexclude] = "STAGING_KERNEL_DIR" |
14 | 15 | ||
16 | FILES_${PN} += "\ | ||
17 | ${datadir}/ti/examples/mpm \ | ||
18 | " | ||
19 | |||
20 | FILES_${PN}-dbg += "\ | ||
21 | ${datadir}/ti/examples/mpm/*/.debug \ | ||
22 | " | ||
23 | |||
15 | do_compile() { | 24 | do_compile() { |
16 | make -C ${S} test | 25 | oe_runmake -C ${S} test |
17 | } | 26 | } |
18 | 27 | ||
19 | do_install() { | 28 | do_install() { |
20 | install -d ${D}${bindir}/ | 29 | # Copy Sources and binary |
21 | install -c -m 755 ${S}/test/filetestdemo/host/bin/demo_filetest ${D}${bindir}/mpm_demo_filetest | 30 | install -d ${D}${datadir}/ti/examples/mpm/src |
22 | install -c -m 755 ${S}/test/sync_test/host/bin/sync_test ${D}${bindir}/mpm_sync_test | 31 | cp -r ${S}/src/mailbox ${D}${datadir}/ti/examples/mpm/src |
32 | cp -r ${S}/src/sync ${D}${datadir}/ti/examples/mpm/src | ||
33 | cp -r ${S}/test ${D}${datadir}/ti/examples/mpm | ||
23 | } | 34 | } |