From: Khem Raj Date: Mon, 24 Jun 2013 06:59:30 +0000 (+0000) Subject: recipes: make meta-fsl-ppc play with other layers X-Git-Tag: 2.1~534^2~279 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=f65accb38566a8a50ac18615dd08df60a4529aa7;p=meta-freescale.git 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 Signed-off-by: Khem Raj --- diff --git a/meta-fsl-ppc/recipes-test/testfloat/testfloat_2a.bb b/meta-fsl-ppc/recipes-test/testfloat/testfloat_2a.bb index ece8c185..8db41b8f 100644 --- a/meta-fsl-ppc/recipes-test/testfloat/testfloat_2a.bb +++ b/meta-fsl-ppc/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/meta-fsl-ppc/recipes-tools/hv-cfg/hv-cfg_git.bb b/meta-fsl-ppc/recipes-tools/hv-cfg/hv-cfg_git.bb index 31261388..d675a41b 100644 --- a/meta-fsl-ppc/recipes-tools/hv-cfg/hv-cfg_git.bb +++ b/meta-fsl-ppc/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/meta-fsl-ppc/recipes-tools/rcw/rcw_git.bb b/meta-fsl-ppc/recipes-tools/rcw/rcw_git.bb index 625bd600..f33685d8 100644 --- a/meta-fsl-ppc/recipes-tools/rcw/rcw_git.bb +++ b/meta-fsl-ppc/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/meta-fsl-ppc/recipes-tools/usdpaa/usdpaa_git.bb b/meta-fsl-ppc/recipes-tools/usdpaa/usdpaa_git.bb index 3138675f..f76ee1d7 100644 --- a/meta-fsl-ppc/recipes-tools/usdpaa/usdpaa_git.bb +++ b/meta-fsl-ppc/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/meta-fsl-ppc/recipes-ucode/fmlib/fmlib_git.bb b/meta-fsl-ppc/recipes-ucode/fmlib/fmlib_git.bb index 038f8997..dd67b7bf 100644 --- a/meta-fsl-ppc/recipes-ucode/fmlib/fmlib_git.bb +++ b/meta-fsl-ppc/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