Skip to contentSkip to conversation

recipes: make meta-fsl-ppc play with other layers

PATCH Applied Khem Raj 2 participants 2 messages Jun 24, 2013 – Jun 27, 2013

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 recipes: make meta-fsl-ppc play with other layers

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

---
 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(-)
recipes-test/testfloat/testfloat_2a.bb +3 -2
index ece8c18..8db41b8 100644
@@ -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"
recipes-tools/hv-cfg/hv-cfg_git.bb +2 -0
index 3126138..d675a41 100644
@@ -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
 
recipes-tools/rcw/rcw_git.bb +2 -0
index 625bd60..f33685d 100644
@@ -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
 
recipes-tools/usdpaa/usdpaa_git.bb +3 -0
index 3138675..f76ee1d 100644
@@ -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}"'
recipes-ucode/fmlib/fmlib_git.bb +3 -1
index 038f899..dd67b7b 100644
@@ -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
Signature · 1 line
1.7.9.5
#1 lore raw

Applied, thanks.

Best Regards,

Zhenhua

Quoted 22 lines

-----Original Message-----
From: [email protected] [mailto:meta-freescale- [email protected]] On Behalf Of Khem Raj
Sent: Monday, June 24, 2013 3:00 PM
To: [email protected]
Cc: Khem Raj
Subject: [meta-freescale] [meta-fsl-ppc][PATCH] recipes: make meta-fsl- ppc play with other layers

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

---
 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(-)