Skip to contentSkip to conversation

multiprocmgr-rtos: Add RTOS package for multiprocmgr

PATCH New Jacob Stiffler 1 participant 1 message Jan 28, 2016 Broadcom iproc Arm architecture

lore
Share & tools
lore
#0 lore raw

PATCH v2 2/2 multiprocmgr-rtos: Add RTOS package for multiprocmgr

---
v2 changes:
* Fix SUMMARY/DESCRIPTION mixup

 recipes-ti/includes/ti-paths.inc                 |  2 ++
 recipes-ti/multiprocmgr/multiprocmgr-rtos_git.bb | 28 ++++++++++++++++++++++++
 2 files changed, 30 insertions(+)
 create mode 100644 recipes-ti/multiprocmgr/multiprocmgr-rtos_git.bb
recipes-ti/includes/ti-paths.inc +2 -0
index b660c11..31427a6 100644
@@ -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
new file mode 100644
index 0000000..50e5049
@@ -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"
Signature · 1 line
1.9.1