multiprocmgr: Clean up recipes
PATCH 1/2 multiprocmgr: Clean up recipes
Signed-off-by Jacob Stiffler <[email protected]>
--- recipes-ti/multiprocmgr/multiprocmgr-test_git.bb | 2 ++ recipes-ti/multiprocmgr/multiprocmgr.inc | 13 ++++++++++--- recipes-ti/multiprocmgr/multiprocmgr_git.bb | 2 +- 3 files changed, 13 insertions(+), 4 deletions(-)
recipes-ti/multiprocmgr/multiprocmgr-test_git.bb +2 -0
@@ -2,6 +2,8 @@ DESCRIPTION = "TI Multiproc Manager test code" include multiprocmgr.inc +PR = "${INC_PR}.0" + DEPENDS = "multiprocmgr cmem" RDEPENDS_${PN} = "multiprocmgr mpm-transport cmem"
recipes-ti/multiprocmgr/multiprocmgr.inc +10 -3
@@ -4,11 +4,18 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=fce208c498eb9669223724dc9c1d8fe4" SECTION = "console" COMPATIBLE_MACHINE = "keystone" -BRANCH = "master" +MULTIPROCMGR_GIT_URI = "git://git.ti.com/keystone-linux/multi-proc-manager.git" +MULTIPROCMGR_GIT_PROTOCOL = "git" +MULTIPROCMGR_GIT_BRANCH = "master" + # The following commits correspond to DEV.MPM-3.00.00.02 -SRCREV = "319c6cfe15054df08eb70cbedc99a88dd5a06cda" +MULTIPROCMGR_SRCREV = "319c6cfe15054df08eb70cbedc99a88dd5a06cda" + PV = "3.0.0.2" +INC_PR = "r2" -SRC_URI = "git://git.ti.com/keystone-linux/multi-proc-manager.git;protocol=git;branch=${BRANCH}" +BRANCH = "${MULTIPROCMGR_GIT_BRANCH}" +SRC_URI = "${MULTIPROCMGR_GIT_URI};protocol=${MULTIPROCMGR_GIT_PROTOCOL};branch=${BRANCH}" +SRCREV = "${MULTIPROCMGR_SRCREV}" S = "${WORKDIR}/git"
recipes-ti/multiprocmgr/multiprocmgr_git.bb +1 -1
@@ -3,7 +3,7 @@ SUMMARY = "Provides download, debug and other utilities for other cores in the S include multiprocmgr.inc -PR = "r1" +PR = "${INC_PR}.0" DEPENDS = "mpm-transport libdaemon virtual/kernel" RDEPENDS_${PN} = "syslog-ng"
Signature · 1 line
1.9.1
PATCH 2/2 multiprocmgr-rtos: Add RTOS package for multiprocmgr
Signed-off-by Jacob Stiffler <[email protected]>
--- 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
@@ -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 @@ +DESCRIPTION = "TI Multiproc Manager(RTOS) for KeyStone II" +SUMMARY = "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
Re: [PATCH 2/2] multiprocmgr-rtos: Add RTOS package for multiprocmgr
Quoted 33 lines · Jacob Stiffler
Signed-off-by Jacob Stiffler <[email protected]>--- 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.bbrecipes-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 +0
-0
recipes-ti/multiprocmgr/multiprocmgr-rtos_git.bb line 2
Quoted 2 lines
recipes-ti/multiprocmgr/multiprocmgr-rtos_git.bb new file +2
-0@@ -0,0 +1,28 @@ +DESCRIPTION = "TI Multiproc Manager(RTOS) for KeyStone II" +SUMMARY = "Provides download, debug and other utilities for other cores in the SOC like DSP"
^^^ Wrong use of DESCRIPTION vs SUMMARY.
SUMMARY is used to provide a short one-line (under 80 char?) description of the package. And DESCRIPTION is used for more detailed and longer description, if needed. DESCRIPTION is optional and is the same as SUMMARY when not set.
Quoted 33 lines
recipes-ti/multiprocmgr/multiprocmgr-rtos_git.bb new file +25
-0+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 · 7 lines
1.9.1 -- _______________________________________________ meta-ti mailing list [email protected] https://lists.yoctoproject.org/listinfo/meta-ti