* [PATCH 1/2] multiprocmgr: Clean up recipes
@ 2016-01-27 13:59 Jacob Stiffler
2016-01-27 13:59 ` [PATCH 2/2] multiprocmgr-rtos: Add RTOS package for multiprocmgr Jacob Stiffler
0 siblings, 1 reply; 3+ messages in thread
From: Jacob Stiffler @ 2016-01-27 13:59 UTC (permalink / raw)
To: meta-ti
Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
---
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(-)
diff --git a/recipes-ti/multiprocmgr/multiprocmgr-test_git.bb b/recipes-ti/multiprocmgr/multiprocmgr-test_git.bb
index b05cd44..8605cf1 100644
--- a/recipes-ti/multiprocmgr/multiprocmgr-test_git.bb
+++ b/recipes-ti/multiprocmgr/multiprocmgr-test_git.bb
@@ -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"
diff --git a/recipes-ti/multiprocmgr/multiprocmgr.inc b/recipes-ti/multiprocmgr/multiprocmgr.inc
index ebe2eee..122ac0f 100644
--- a/recipes-ti/multiprocmgr/multiprocmgr.inc
+++ b/recipes-ti/multiprocmgr/multiprocmgr.inc
@@ -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"
diff --git a/recipes-ti/multiprocmgr/multiprocmgr_git.bb b/recipes-ti/multiprocmgr/multiprocmgr_git.bb
index c903f3a..38d4ceb 100644
--- a/recipes-ti/multiprocmgr/multiprocmgr_git.bb
+++ b/recipes-ti/multiprocmgr/multiprocmgr_git.bb
@@ -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"
--
1.9.1
^ permalink raw reply related [flat|nested] 3+ messages in thread* [PATCH 2/2] multiprocmgr-rtos: Add RTOS package for multiprocmgr
2016-01-27 13:59 [PATCH 1/2] multiprocmgr: Clean up recipes Jacob Stiffler
@ 2016-01-27 13:59 ` Jacob Stiffler
2016-01-27 20:31 ` Denys Dmytriyenko
0 siblings, 1 reply; 3+ messages in thread
From: Jacob Stiffler @ 2016-01-27 13:59 UTC (permalink / raw)
To: meta-ti
Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
---
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
diff --git a/recipes-ti/includes/ti-paths.inc b/recipes-ti/includes/ti-paths.inc
index b660c11..31427a6 100644
--- a/recipes-ti/includes/ti-paths.inc
+++ b/recipes-ti/includes/ti-paths.inc
@@ -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"
diff --git a/recipes-ti/multiprocmgr/multiprocmgr-rtos_git.bb b/recipes-ti/multiprocmgr/multiprocmgr-rtos_git.bb
new file mode 100644
index 0000000..b3ae720
--- /dev/null
+++ b/recipes-ti/multiprocmgr/multiprocmgr-rtos_git.bb
@@ -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"
--
1.9.1
^ permalink raw reply related [flat|nested] 3+ messages in thread* Re: [PATCH 2/2] multiprocmgr-rtos: Add RTOS package for multiprocmgr
2016-01-27 13:59 ` [PATCH 2/2] multiprocmgr-rtos: Add RTOS package for multiprocmgr Jacob Stiffler
@ 2016-01-27 20:31 ` Denys Dmytriyenko
0 siblings, 0 replies; 3+ messages in thread
From: Denys Dmytriyenko @ 2016-01-27 20:31 UTC (permalink / raw)
To: Jacob Stiffler; +Cc: meta-ti
On Wed, Jan 27, 2016 at 08:59:09AM -0500, Jacob Stiffler wrote:
> Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
> ---
> 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
>
> diff --git a/recipes-ti/includes/ti-paths.inc b/recipes-ti/includes/ti-paths.inc
> index b660c11..31427a6 100644
> --- a/recipes-ti/includes/ti-paths.inc
> +++ b/recipes-ti/includes/ti-paths.inc
> @@ -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"
> diff --git a/recipes-ti/multiprocmgr/multiprocmgr-rtos_git.bb b/recipes-ti/multiprocmgr/multiprocmgr-rtos_git.bb
> new file mode 100644
> index 0000000..b3ae720
> --- /dev/null
> +++ b/recipes-ti/multiprocmgr/multiprocmgr-rtos_git.bb
> @@ -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.
> +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"
> --
> 1.9.1
>
> --
> _______________________________________________
> meta-ti mailing list
> meta-ti@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-ti
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2016-01-27 20:31 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-27 13:59 [PATCH 1/2] multiprocmgr: Clean up recipes Jacob Stiffler
2016-01-27 13:59 ` [PATCH 2/2] multiprocmgr-rtos: Add RTOS package for multiprocmgr Jacob Stiffler
2016-01-27 20:31 ` Denys Dmytriyenko
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.