summaryrefslogtreecommitdiffstats
path: root/recipes-ti/multiprocmgr/multiprocmgr-test_git.bb
blob: 7c3f9e1ba73b22a8500abea8d98667efd6b44549 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
SUMMARY = "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"

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
}