[meta-freescale] [meta-fsl-ppc][PATCH] recipes: make meta-fsl-ppc play with other layers
Khem Raj
raj.khem at gmail.com
Sun Jun 23 23:59:30 PDT 2013
Some recipes are specific to fsl machines but arent marked
so. When building images for other machines while including
meta-fsl-ppc in bblayers exposes the build failures on these
recipes. Lets mark them fsl machine specific
Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
recipes-test/testfloat/testfloat_2a.bb | 5 +++--
recipes-tools/hv-cfg/hv-cfg_git.bb | 2 ++
recipes-tools/rcw/rcw_git.bb | 2 ++
recipes-tools/usdpaa/usdpaa_git.bb | 3 +++
recipes-ucode/fmlib/fmlib_git.bb | 4 +++-
5 files changed, 13 insertions(+), 3 deletions(-)
diff --git a/recipes-test/testfloat/testfloat_2a.bb b/recipes-test/testfloat/testfloat_2a.bb
index ece8c18..8db41b8 100644
--- a/recipes-test/testfloat/testfloat_2a.bb
+++ b/recipes-test/testfloat/testfloat_2a.bb
@@ -6,10 +6,11 @@ LIC_FILES_CHKSUM = "file://testfloat/testfloat.txt;beginline=87;endline=95;md5=b
SRC_URI = " http://www.jhauser.us/arithmetic/TestFloat-2a.tar.Z;name=TestFloat \
http://www.jhauser.us/arithmetic/SoftFloat-2b.tar.Z;name=SoftFloat \
- file://SoftFloat-powerpc-1.patch \
- file://TestFloat-powerpc-E500v2-SPE-1.patch \
file://Yocto-replace-COMPILE_PREFIX-gcc.patch \
"
+SRC_URI_append_fslmachine = " file://SoftFloat-powerpc-1.patch \
+ file://TestFloat-powerpc-E500v2-SPE-1.patch \
+ "
SRC_URI[TestFloat.md5sum] = "4dc889319ae1e0c5381ec511f784553a"
SRC_URI[TestFloat.sha256sum] = "84d14aa42adefbda2ec9708b42946f7fa59f93689b042684bd027863481f8e4e"
SRC_URI[SoftFloat.md5sum] = "b4a58b5c941f1a2317e4c2500086e3fa"
diff --git a/recipes-tools/hv-cfg/hv-cfg_git.bb b/recipes-tools/hv-cfg/hv-cfg_git.bb
index 3126138..d675a41 100644
--- a/recipes-tools/hv-cfg/hv-cfg_git.bb
+++ b/recipes-tools/hv-cfg/hv-cfg_git.bb
@@ -15,6 +15,8 @@ DEPENDS += "dtc-native"
# this package is specific to the machine itself
INHIBIT_DEFAULT_DEPS = "1"
PACKAGE_ARCH = "${MACHINE_ARCH}"
+COMPATIBLE_HOST_fslmachine = ".*"
+COMPATIBLE_HOST ?= "(none)"
inherit deploy
diff --git a/recipes-tools/rcw/rcw_git.bb b/recipes-tools/rcw/rcw_git.bb
index 625bd60..f33685d 100644
--- a/recipes-tools/rcw/rcw_git.bb
+++ b/recipes-tools/rcw/rcw_git.bb
@@ -8,6 +8,8 @@ LIC_FILES_CHKSUM = "file://rcw.py;beginline=8;endline=28;md5=9ba0b28922dd187b06b
# this package is specific to the machine itself
INHIBIT_DEFAULT_DEPS = "1"
PACKAGE_ARCH = "${MACHINE_ARCH}"
+COMPATIBLE_HOST_fslmachine = ".*"
+COMPATIBLE_HOST ?= "(none)"
inherit deploy
diff --git a/recipes-tools/usdpaa/usdpaa_git.bb b/recipes-tools/usdpaa/usdpaa_git.bb
index 3138675..f76ee1d 100644
--- a/recipes-tools/usdpaa/usdpaa_git.bb
+++ b/recipes-tools/usdpaa/usdpaa_git.bb
@@ -12,6 +12,9 @@ RDEPENDS_${PN} = "libgcc"
SRC_URI = "git://git.freescale.com/ppc/sdk/usdpaa.git"
SRCREV = "670ad8827fd83169ccb54a008c638dbb497b1c61"
+COMPATIBLE_HOST_fslmachine = ".*"
+COMPATIBLE_HOST ?= "(none)"
+
S = "${WORKDIR}/git"
EXTRA_OEMAKE = 'V=1 CC="${CC}" LD="${LD}" AR="${AR}"'
diff --git a/recipes-ucode/fmlib/fmlib_git.bb b/recipes-ucode/fmlib/fmlib_git.bb
index 038f899..dd67b7b 100644
--- a/recipes-ucode/fmlib/fmlib_git.bb
+++ b/recipes-ucode/fmlib/fmlib_git.bb
@@ -16,9 +16,11 @@ S = "${WORKDIR}/git"
TARGET_ARCH_FMLIB = "${DEFAULTTUNE}"
TARGET_ARCH_FMLIB_e5500 = "ppc32e5500"
TARGET_ARCH_FMLIB_e6500 = "ppc32e6500"
+COMPATIBLE_HOST_fslmachine = ".*"
+COMPATIBLE_HOST ?= "(none)"
EXTRA_OEMAKE = "DESTDIR=${D} PREFIX=${prefix} LIB_DEST_DIR=${libdir} \
- CROSS_COMPILE=${TARGET_PREFIX} KERNEL_SRC=${STAGING_EXECPREFIXDIR}"
+ CROSS_COMPILE=${TARGET_PREFIX} KERNEL_SRC=${STAGING_EXECPREFIXDIR}"
do_compile () {
oe_runmake libfm-${TARGET_ARCH_FMLIB}.a
--
1.7.9.5
More information about the meta-freescale
mailing list