From 18698b86c76b2adafc2ef7061b331e3423dcbe6c Mon Sep 17 00:00:00 2001 From: Koen Kooi Date: Wed, 10 Aug 2011 08:38:18 +0200 Subject: TI recipes: only use PACKAGE_ARCH = "${MACHINE_ARCH}" where needed With machine specific staging in OE-core the tools (xdc, dmai, etc) can drop the PACKAGE_ARCH munging. Signed-off-by: Koen Kooi --- recipes-ti/codec-engine/ti-codec-engine.inc | 2 ++ recipes-ti/codec-engine/ti-codecs-omap3530_4.00.00.00.bb | 1 + recipes-ti/dmai/ti-dmai.inc | 2 ++ recipes-ti/gstreamer-ti/gstreamer-ti.inc | 2 ++ recipes-ti/includes/ti-staging.inc | 2 -- recipes-ti/local-power-manager/ti-local-power-manager.inc | 1 + 6 files changed, 8 insertions(+), 2 deletions(-) (limited to 'recipes-ti') diff --git a/recipes-ti/codec-engine/ti-codec-engine.inc b/recipes-ti/codec-engine/ti-codec-engine.inc index 18c8cf40..fde181e7 100644 --- a/recipes-ti/codec-engine/ti-codec-engine.inc +++ b/recipes-ti/codec-engine/ti-codec-engine.inc @@ -186,6 +186,8 @@ do_install() { cp -pPrf ${S}/* ${D}${CE_INSTALL_DIR_RECIPE} } +PACKAGE_ARCH = "${MACHINE_ARCH}" + PACKAGES += "ti-codec-engine-examples" RDEPENDS_ti-codec-engine-examples = " ti-cmem-module" diff --git a/recipes-ti/codec-engine/ti-codecs-omap3530_4.00.00.00.bb b/recipes-ti/codec-engine/ti-codecs-omap3530_4.00.00.00.bb index 0bacf91d..ae218b10 100644 --- a/recipes-ti/codec-engine/ti-codecs-omap3530_4.00.00.00.bb +++ b/recipes-ti/codec-engine/ti-codecs-omap3530_4.00.00.00.bb @@ -200,6 +200,7 @@ do_install() { cp -pPrf ${CODEC_SUITE_NAME}/* ${D}${CODEC_INSTALL_DIR_RECIPE} } +PACKAGE_ARCH = "${MACHINE_ARCH}" PACKAGES += "ti-codecs-omap3530-server" FILES_ti-codecs-omap3530-server = "${installdir}/ti-codecs-server/*" diff --git a/recipes-ti/dmai/ti-dmai.inc b/recipes-ti/dmai/ti-dmai.inc index a84f303a..8b536fc8 100644 --- a/recipes-ti/dmai/ti-dmai.inc +++ b/recipes-ti/dmai/ti-dmai.inc @@ -141,6 +141,8 @@ do_install () { cp -pPrf ${S}/* ${D}${DMAI_INSTALL_DIR_RECIPE} } +PACKAGE_ARCH = "${MACHINE_ARCH}" + PACKAGES += "ti-dmai-apps" FILES_ti-dmai-apps = "${installdir}/ti-dmai-apps/*" INSANE_SKIP_ti-dmai-apps = True diff --git a/recipes-ti/gstreamer-ti/gstreamer-ti.inc b/recipes-ti/gstreamer-ti/gstreamer-ti.inc index ded16ce8..422d8c7e 100644 --- a/recipes-ti/gstreamer-ti/gstreamer-ti.inc +++ b/recipes-ti/gstreamer-ti/gstreamer-ti.inc @@ -143,6 +143,8 @@ pkg_postinst_${PN} () { fi } +PACKAGE_ARCH = "${MACHINE_ARCH}" + INITSCRIPT_NAME = "gstti-init" INITSCRIPT_PARAMS = "start 30 5 2 . stop 40 0 1 6 ." diff --git a/recipes-ti/includes/ti-staging.inc b/recipes-ti/includes/ti-staging.inc index 2bacd7a9..48ee061c 100644 --- a/recipes-ti/includes/ti-staging.inc +++ b/recipes-ti/includes/ti-staging.inc @@ -1,5 +1,3 @@ -PACKAGE_ARCH = "${MACHINE_ARCH}" - PACKAGE_STRIP = "no" ALLOW_EMPTY_${PN} = "1" diff --git a/recipes-ti/local-power-manager/ti-local-power-manager.inc b/recipes-ti/local-power-manager/ti-local-power-manager.inc index 7ccbf997..46ea86b7 100644 --- a/recipes-ti/local-power-manager/ti-local-power-manager.inc +++ b/recipes-ti/local-power-manager/ti-local-power-manager.inc @@ -109,6 +109,7 @@ do_install () { cp -pPrf ${S}/* ${D}${LPM_INSTALL_DIR_RECIPE} } +PACKAGE_ARCH = "${MACHINE_ARCH}" PACKAGES += "ti-lpm-module" FILES_ti-lpm-module = "/lib/modules/${KERNEL_VERSION}/kernel/drivers/dsp/*lpm*ko" RDEPENDS_ti-lpm-module += "ti-dsplink-module" -- cgit v1.2.3-54-g00ecf