]> code.ossystems Code Review - meta-freescale.git/commitdiff
recipes: make meta-fsl-ppc play with other layers
authorKhem Raj <raj.khem@gmail.com>
Mon, 24 Jun 2013 06:59:30 +0000 (06:59 +0000)
committerZhenhua Luo <zhenhua.luo@freescale.com>
Thu, 27 Jun 2013 02:40:25 +0000 (10:40 +0800)
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@gmail.com>
meta-fsl-ppc/recipes-test/testfloat/testfloat_2a.bb
meta-fsl-ppc/recipes-tools/hv-cfg/hv-cfg_git.bb
meta-fsl-ppc/recipes-tools/rcw/rcw_git.bb
meta-fsl-ppc/recipes-tools/usdpaa/usdpaa_git.bb
meta-fsl-ppc/recipes-ucode/fmlib/fmlib_git.bb

index ece8c1857b582b793cc80a389140b6f43976fa2e..8db41b8f243f64ecf4b00f8be842c2253abc5aee 100644 (file)
@@ -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"
index 312613882b5c4dea4bbfa48fc21b894fc8c4bc4d..d675a41b625a9dcadb541c1fb9b2ee5fcd71ee1b 100644 (file)
@@ -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
 
index 625bd600aec21c0d2d0f401ec7afb3568c5c1765..f33685d8cc0e5aa7eaa6fe88b1e8ddf97df9cce0 100644 (file)
@@ -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
 
index 3138675f5ca99c92db1996ec4125a2cc75495d12..f76ee1d7c3ee2fb642268cc27916e37b9dcc49c6 100644 (file)
@@ -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}"'
index 038f89971088809049fcc738b88bd32a4ce63029..dd67b7bf7138232ae5e86f5036960de1ca4d1ce2 100644 (file)
@@ -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