1
0
mirror of https://git.yoctoproject.org/meta-ti synced 2026-04-20 19:53:43 +00:00
Files
meta-ti/recipes-ti/multiprocmgr/multiprocmgr-rtos_git.bb
Sam Nelson f9d3386df6 multiprocmgr-test: Add test c66x images, sources and scripts to package
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>
2017-02-09 21:09:51 -05:00

42 lines
1.4 KiB
BlitzBasic

SUMMARY = "TI Multiproc Manager (RTOS) for KeyStone II"
DESCRIPTION = "Provides download, debug and other utilities for other cores in the SOC like DSP"
require recipes-ti/includes/ti-paths.inc
require recipes-ti/multiprocmgr/multiprocmgr.inc
DEPENDS = "ti-cgt6x-native"
PR = "${INC_PR}.1"
PACKAGES =+ "${PN}-test"
FILES_${PN}-test = "${datadir}/ti/examples/mpm/test/filetestdemo/c66x/demo_loopback/build/bin/*.out \
${datadir}/ti/examples/mpm/test/sync_test/c66x/bin/*.out"
EXTRA_OEMAKE = "LOCAL_SYSROOT="${STAGING_DIR_TARGET}" \
C6X_GEN_INSTALL_PATH="${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c6x" \
"
do_compile() {
oe_runmake c66x
oe_runmake test_c66x
}
do_install() {
install -d ${D}${MPM_INSTALL_DIR_RECIPE}
cp -pPrf ${S}/* ${D}${MPM_INSTALL_DIR_RECIPE}
# Copy C66x binaries
install -d ${D}${datadir}/ti/examples/mpm/test/filetestdemo/c66x/demo_loopback/build/bin
cp ${S}/test/filetestdemo/c66x/demo_loopback/build/bin/*.out \
${D}${datadir}/ti/examples/mpm/test/filetestdemo/c66x/demo_loopback/build/bin/
install -d ${D}${datadir}/ti/examples/mpm/test/sync_test/c66x/bin
cp ${S}/test/sync_test/c66x/bin/*.out \
${D}${datadir}/ti/examples/mpm/test/sync_test/c66x/bin/
}
FILES_${PN}-dev += "${MPM_INSTALL_DIR_RECIPE}"
INSANE_SKIP_${PN}-dev = "arch"
INSANE_SKIP_${PN}-test = "arch"
ALLOW_EMPTY_${PN} = "1"