Return-Path: Received: from mail-pa0-f53.google.com (mail-pa0-f53.google.com [209.85.220.53]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 25049E01403 for ; Sun, 23 Jun 2013 23:59:39 -0700 (PDT) Received: by mail-pa0-f53.google.com with SMTP id tj12so10494242pac.40 for ; Sun, 23 Jun 2013 23:59:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer; bh=FZD88SSjDR/3/lv0iDgRetOqdICTPkikibmsV1FZO/s=; b=pmKvDddA9I+PBocJdBU2vMA2gZZOedNvazPdK8tBgoker0Li5/ukz9WLNLpVFBZD3O 7zS7k6v5y/8xsRaPFCImXPJWeM34PM1t5d6V9N1mIYrf70ac6aNTXXKl6xa6Ld07o+5Z jD0ZNiRNI7CWPKqdm92F+j9xOfg4Zm8RrkoVoeV/aLoOnxpyGjmOLogmD8a4T27IjJyD dCvvhfjwSB6GUCsqbOXGP42twUP6SkaQW38MJmtiN5eJnCbQnhaE52VOygP9xvpKM8rU cpsMY0EL1hLkwKSn7hBkRTY/c6KoZaxUcIp/YtiC2/ui+kwLfw0EN/+YkrRrzSFl3hgB gsBg== X-Received: by 10.66.254.135 with SMTP id ai7mr18861759pad.185.1372057179086; Sun, 23 Jun 2013 23:59:39 -0700 (PDT) Received: from isis.gateway.2wire.net (99-57-140-209.lightspeed.sntcca.sbcglobal.net. [99.57.140.209]) by mx.google.com with ESMTPSA id xd2sm18405289pac.15.2013.06.23.23.59.37 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 23 Jun 2013 23:59:38 -0700 (PDT) From: Khem Raj To: meta-freescale@yoctoproject.org Date: Sun, 23 Jun 2013 23:59:30 -0700 Message-Id: <1372057170-12150-1-git-send-email-raj.khem@gmail.com> X-Mailer: git-send-email 1.7.9.5 Cc: Khem Raj Subject: [meta-fsl-ppc][PATCH] recipes: make meta-fsl-ppc play with other layers X-BeenThere: meta-freescale@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-fsl-* layers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Jun 2013 06:59:40 -0000 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 --- 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