Jacob Stiffler : multiprocmgr-rtos: Add RTOS package for multiprocmgr
Module: meta-ti Branch: fido Commit: ef81b49a6daca949e04ff8719f8dd7cb02dead92 URL: http://arago-project.org/git/meta-ti.git?a=commit;h=ef81b49a6daca949e04ff8719f8dd7cb02dead92
Author: Jacob Stiffler <[email protected]> Date: Thu Jan 28 19:07:33 2016 +0000
multiprocmgr-rtos: Add RTOS package for multiprocmgr
Signed-off-by Jacob Stiffler <[email protected]>
Signed-off-by Denys Dmytriyenko <[email protected]>
---
recipes-ti/includes/ti-paths.inc | 2 + recipes-ti/multiprocmgr/multiprocmgr-rtos_git.bb | 28 ++++++++++++++++++++++ 2 files changed, 30 insertions(+), 0 deletions(-)
recipes-ti/includes/ti-paths.inc +2 -0
@@ -54,6 +54,7 @@ export MATHLIB_C66_INSTALL_DIR_RECIPE = "${installdir}/ti-mathlib-c66x-tree" export IMGLIB_C66_INSTALL_DIR_RECIPE = "${installdir}/ti-imglib-c66x-tree" export CG_XML_INSTALL_DIR_RECIPE = "${installdir}/ti-cg-xml-tree" export OMP_INSTALL_DIR_RECIPE = "${installdir}/ti-omp-tree" +export MPM_INSTALL_DIR_RECIPE = "${installdir}/ti-mpm-tree" # This is where the tools will end up in sysroot
@@ -99,6 +100,7 @@ export MATHLIB_C66_INSTALL_DIR = "${STAGING_DIR_TARGET}${MATHLIB_C66_INSTALL export IMGLIB_C66_INSTALL_DIR = "${STAGING_DIR_TARGET}${IMGLIB_C66_INSTALL_DIR_RECIPE}" export CG_XML_INSTALL_DIR = "${STAGING_DIR_NATIVE}${CG_XML_INSTALL_DIR_RECIPE}" export OMP_INSTALL_DIR = "${STAGING_DIR_TARGET}${OMP_INSTALL_DIR_RECIPE}" +export MPM_INSTALL_DIR = "${STAGING_DIR_TARGET}${MPM_INSTALL_DIR_RECIPE}" DSPSUFFIX_omapl137 = "x674" DSPSUFFIX_omapl138 = "x674"
recipes-ti/multiprocmgr/multiprocmgr-rtos_git.bb new file +28 -0
@@ -0,0 +1,28 @@ +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}.0" + +export LOCAL_SYSROOT="${STAGING_DIR_TARGET}" +export C6X_GEN_INSTALL_PATH="${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c6x" + +do_compile() { + make c66x + make test_c66x + sourceipk_do_create_srcipk +} + +do_install() { + install -d ${D}${MPM_INSTALL_DIR_RECIPE} + cp -pPrf ${S}/* ${D}${MPM_INSTALL_DIR_RECIPE} +} + +FILES_${PN}-dev += "${MPM_INSTALL_DIR_RECIPE}" +INSANE_SKIP_${PN}-dev = "arch" + +ALLOW_EMPTY_${PN} = "1"