Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 6F160E00A16; Fri, 28 Sep 2018 13:19:04 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no * trust * [209.85.210.194 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's * domain * -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature * 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily * valid * 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider * (raj.khem[at]gmail.com) Received: from mail-pf1-f194.google.com (mail-pf1-f194.google.com [209.85.210.194]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id D7F6BE009E7 for ; Fri, 28 Sep 2018 13:19:03 -0700 (PDT) Received: by mail-pf1-f194.google.com with SMTP id j26-v6so5013353pfi.10 for ; Fri, 28 Sep 2018 13:19:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=MN2u/V5MoiFZz3tqrp0q/hTlzXsMOa2/f6Hs2rxeR38=; b=a4DJJ+AizAxoB3/2+vkNHsCvxpDIDDI9hVH7kKYSAswFpWpyfyIUs8OAeXltzpYfR9 iO3lb3DJMVu26uhbrEhPmFZiuVFA6yMtYVMlW49nsiQ6NzbUXR5b3hBW1ufugOIcniRk sRn+8I1UaDrp+LgZPPiXHIZAA8AgRuKL/yjbbN9+P26JM0nki2ATqYepPShSQJFqrKW+ z3vAtEngccMnp7JylgNZtEZ7gweTingUVe3pW65yetibz/TsaADvoscD67zTJOiOiTxV n3HOpXzg7WYmwY11PyYSsLSdzMEZ7FLAxu6jFsVOdKdl4ttLsXPRC2ntX3FOdD3X6DKz K33g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=MN2u/V5MoiFZz3tqrp0q/hTlzXsMOa2/f6Hs2rxeR38=; b=MtN2Wv5PMRHVwx3k2YsPElVa14qYMW+QZVCilw1Jq4BA6AdGwQ5SvJhsS0Aaoq3DDe yDQmn1Rr+yPz5O/zljzc6T+l+2rlhWS0ytv8Mf0414C8gkGMST+zPdGv3StZI7Unwe55 EUSanCwpkne0r+kMl8AShTXvBz4vHWAyjqACtvGsDRxa69CCBXnQBu+xLVhRylUtWW0+ t2fFA6yJi68mez8obkv0P+hU6naUBGyRlicLpZGgoGm6VtP4e2OshrV0zhiBegkNKQCg a2A+DSoqdaG6E877jPrykTefhBlsEdi+BO/NSKIe01SkAVO3W/ep09GimSGWiekT3hbX 19bw== X-Gm-Message-State: ABuFfojT7t8aIyy6caiptvp0CQzH9ZsF0XIgpqRmfkJQhvGuGok9T5pc l4gfvWAmbUbz7RkggZWkdfovJFwU X-Google-Smtp-Source: ACcGV62sXbLTJAM4KWKeL77V9hzjRYQzari0bmEc2vMwcsCDrt2ncjzr8xSzInsoOs+whnQT1V69cg== X-Received: by 2002:a62:fcd8:: with SMTP id e207-v6mr217039pfh.132.1538165942887; Fri, 28 Sep 2018 13:19:02 -0700 (PDT) Received: from localhost.localdomain ([2601:646:877f:9499::b1b1]) by smtp.gmail.com with ESMTPSA id v2-v6sm8524288pgf.58.2018.09.28.13.19.02 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 28 Sep 2018 13:19:02 -0700 (PDT) From: Khem Raj To: meta-freescale@yoctoproject.org Date: Fri, 28 Sep 2018 13:18:49 -0700 Message-Id: <20180928201851.17832-2-raj.khem@gmail.com> X-Mailer: git-send-email 2.19.0 In-Reply-To: <20180928201851.17832-1-raj.khem@gmail.com> References: <20180928201851.17832-1-raj.khem@gmail.com> MIME-Version: 1.0 Cc: Khem Raj , Otavio Salvador Subject: [PATCH v5 2/4] recipes: Limit BSP specific recipes on relevant SOCs 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: Fri, 28 Sep 2018 20:19:04 -0000 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This helps in using meta-freescale with other BSP layers in same projects, which is common usecase Signed-off-by: Khem Raj Cc: Andreas Müller Cc: Zhenhua Luo Cc: Otavio Salvador --- v2: nativesdk-mxsldr is needed in SDK packagegroups v3: Fine tune the overrides for qorq and mainline bsp specific recipes v4: Set COMPATIBLE_HOST to (imx) v5: Use COMAPTIBLE_MACHINE instead of COMPATIBLE_HOST, add more recipes dynamic-layers/openembedded-layer/recipes-dpaa/fmc/fmc_git.bb | 1 + recipes-bsp/firmware-imx/firmware-imx_7.6.bb | 2 ++ recipes-bsp/imx-uuc/imx-uuc_git.bb | 2 ++ recipes-bsp/u-boot/u-boot-fslc-common_2018.09.inc | 2 ++ recipes-bsp/uefi/uefi_git.bb | 1 + recipes-dpaa/fmlib/fmlib_git.bb | 1 + recipes-graphics/drm/libdrm-armada_git.bb | 2 ++ recipes-graphics/xorg-driver/xf86-video-armada_git.bb | 2 ++ recipes-kernel/dtc/dtc-145_git.bb | 1 + .../kernel-modules/kernel-module-imx-gpu-viv_6.2.4.p1.2+fslc.bb | 1 + .../kernel-modules/kernel-module-imx-gpu-viv_6.2.4.p1.6.bb | 1 + recipes-security/optee/optee-client-qoriq.bb | 2 ++ 12 files changed, 18 insertions(+) diff --git a/dynamic-layers/openembedded-layer/recipes-dpaa/fmc/fmc_git.bb b/dynamic-layers/openembedded-layer/recipes-dpaa/fmc/fmc_git.bb index 76ece625..d839b6fc 100644 --- a/dynamic-layers/openembedded-layer/recipes-dpaa/fmc/fmc_git.bb +++ b/dynamic-layers/openembedded-layer/recipes-dpaa/fmc/fmc_git.bb @@ -45,3 +45,4 @@ PARALLEL_MAKE = "" PACKAGE_ARCH = "${MACHINE_SOCARCH}" +COMPATIBLE_MACHINE = "(qoriq)" diff --git a/recipes-bsp/firmware-imx/firmware-imx_7.6.bb b/recipes-bsp/firmware-imx/firmware-imx_7.6.bb index 6c5f73ce..4f7b3890 100644 --- a/recipes-bsp/firmware-imx/firmware-imx_7.6.bb +++ b/recipes-bsp/firmware-imx/firmware-imx_7.6.bb @@ -100,3 +100,5 @@ PACKAGES =+ "${PN}-epdc ${PN}-brcm" FILES_${PN}-epdc = "${base_libdir}/firmware/imx/epdc/" FILES_${PN}-brcm = "${base_libdir}/firmware/bcm/*/*.bin ${base_libdir}/firmware/bcm/*/*.cal ${sysconfdir}/firmware/" + +COMPATIBLE_MACHINE = "(imx)" diff --git a/recipes-bsp/imx-uuc/imx-uuc_git.bb b/recipes-bsp/imx-uuc/imx-uuc_git.bb index 381c214a..a3a8387b 100644 --- a/recipes-bsp/imx-uuc/imx-uuc_git.bb +++ b/recipes-bsp/imx-uuc/imx-uuc_git.bb @@ -16,3 +16,5 @@ SRCREV = "323efa5e4c799c40503ac92a8104c33b090e6731" S = "${WORKDIR}/git" FILES_${PN} += "/linuxrc /fat" + +COMPATIBLE_MACHINE = "(imx)" diff --git a/recipes-bsp/u-boot/u-boot-fslc-common_2018.09.inc b/recipes-bsp/u-boot/u-boot-fslc-common_2018.09.inc index aaefd67f..18be28a3 100644 --- a/recipes-bsp/u-boot/u-boot-fslc-common_2018.09.inc +++ b/recipes-bsp/u-boot/u-boot-fslc-common_2018.09.inc @@ -14,3 +14,5 @@ SRCBRANCH = "2018.09+fslc" PV = "v2018.09+git${SRCPV}" S = "${WORKDIR}/git" + +COMPATIBLE_MACHINE = "(imx)" diff --git a/recipes-bsp/uefi/uefi_git.bb b/recipes-bsp/uefi/uefi_git.bb index f157d03d..baf430d8 100644 --- a/recipes-bsp/uefi/uefi_git.bb +++ b/recipes-bsp/uefi/uefi_git.bb @@ -28,3 +28,4 @@ FILES_${PN}-image += "/uefi/*" PACKAGE_ARCH = "${MACHINE_SOCARCH}" +COMPATIBLE_MACHINE = "(qoriq)" diff --git a/recipes-dpaa/fmlib/fmlib_git.bb b/recipes-dpaa/fmlib/fmlib_git.bb index bbe1e535..1f31f631 100644 --- a/recipes-dpaa/fmlib/fmlib_git.bb +++ b/recipes-dpaa/fmlib/fmlib_git.bb @@ -28,3 +28,4 @@ ALLOW_EMPTY_${PN} = "1" PACKAGE_ARCH = "${MACHINE_ARCH}" +COMPATIBLE_MACHINE ?= "(qoriq)" diff --git a/recipes-graphics/drm/libdrm-armada_git.bb b/recipes-graphics/drm/libdrm-armada_git.bb index 937c68d7..0a14e371 100644 --- a/recipes-graphics/drm/libdrm-armada_git.bb +++ b/recipes-graphics/drm/libdrm-armada_git.bb @@ -13,3 +13,5 @@ SRC_URI = "git://git.armlinux.org.uk/~rmk/libdrm-armada.git" inherit autotools pkgconfig S = "${WORKDIR}/git" + +COMPATIBLE_MACHINE ?= "(imx)" diff --git a/recipes-graphics/xorg-driver/xf86-video-armada_git.bb b/recipes-graphics/xorg-driver/xf86-video-armada_git.bb index 30e3ae47..30372eff 100644 --- a/recipes-graphics/xorg-driver/xf86-video-armada_git.bb +++ b/recipes-graphics/xorg-driver/xf86-video-armada_git.bb @@ -44,3 +44,5 @@ EXTRA_OECONF = "--disable-etnaviv \ --disable-vivante \ --with-etnaviv-source=${WORKDIR}/etna_viv \ " + +COMPATIBLE_MACHINE = "(imx)" diff --git a/recipes-kernel/dtc/dtc-145_git.bb b/recipes-kernel/dtc/dtc-145_git.bb index 2776cc5e..bdd83990 100644 --- a/recipes-kernel/dtc/dtc-145_git.bb +++ b/recipes-kernel/dtc/dtc-145_git.bb @@ -16,3 +16,4 @@ do_install () { install -d ${D}/${bindir} install -m 755 dtc ${D}/${bindir}/dtc-145 } +COMPATIBLE_MACHINE = "(imx)" diff --git a/recipes-kernel/kernel-modules/kernel-module-imx-gpu-viv_6.2.4.p1.2+fslc.bb b/recipes-kernel/kernel-modules/kernel-module-imx-gpu-viv_6.2.4.p1.2+fslc.bb index 19f2dc7f..f9307fb4 100644 --- a/recipes-kernel/kernel-modules/kernel-module-imx-gpu-viv_6.2.4.p1.2+fslc.bb +++ b/recipes-kernel/kernel-modules/kernel-module-imx-gpu-viv_6.2.4.p1.2+fslc.bb @@ -17,3 +17,4 @@ S = "${WORKDIR}/git" inherit module KERNEL_MODULE_AUTOLOAD = "galcore" +COMPATIBLE_MACHINE = "(imx)" diff --git a/recipes-kernel/kernel-modules/kernel-module-imx-gpu-viv_6.2.4.p1.6.bb b/recipes-kernel/kernel-modules/kernel-module-imx-gpu-viv_6.2.4.p1.6.bb index 0170695b..32279493 100644 --- a/recipes-kernel/kernel-modules/kernel-module-imx-gpu-viv_6.2.4.p1.6.bb +++ b/recipes-kernel/kernel-modules/kernel-module-imx-gpu-viv_6.2.4.p1.6.bb @@ -24,3 +24,4 @@ inherit module EXTRA_OEMAKE += "CONFIG_MXC_GPU_VIV=m" KERNEL_MODULE_AUTOLOAD = "galcore" +COMPATIBLE_MACHINE = "(imx)" diff --git a/recipes-security/optee/optee-client-qoriq.bb b/recipes-security/optee/optee-client-qoriq.bb index 0a76743b..a5042703 100644 --- a/recipes-security/optee/optee-client-qoriq.bb +++ b/recipes-security/optee/optee-client-qoriq.bb @@ -27,3 +27,5 @@ do_install() { cp -a ${S}/out/export/include ${D}/usr/ } + +COMPATIBLE_MACHINE = "(qoriq)" -- 2.19.0