aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2018-09-28 13:18:49 -0700
committerOtavio Salvador <otavio@ossystems.com.br>2018-09-28 17:32:38 -0300
commit4f0cbb65a5f7f4794af28785a5011004439d5783 (patch)
treea44af2ce1eb6b2b2c4b0c34e1e87bfc0e8be93f9
parentd849257b69cabcb20e5c03a219fe0d748aa8d06d (diff)
downloadmeta-freescale-4f0cbb65a5f7f4794af28785a5011004439d5783.tar.gz
meta-freescale-4f0cbb65a5f7f4794af28785a5011004439d5783.tar.bz2
meta-freescale-4f0cbb65a5f7f4794af28785a5011004439d5783.zip
recipes: Limit BSP specific recipes on relevant SOCs
This helps in using meta-freescale with other BSP layers in same projects, which is common usecase Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Andreas Müller <schnitzeltony@gmail.com> Cc: Zhenhua Luo <zhenhua.luo@nxp.com> Cc: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> (cherry picked from commit 16c528880f20c68731e645775d31c7445c95a8db)
-rw-r--r--dynamic-layers/openembedded-layer/recipes-dpaa/fmc/fmc_git.bb1
-rw-r--r--recipes-bsp/firmware-imx/firmware-imx_7.5.bb2
-rw-r--r--recipes-bsp/imx-uuc/imx-uuc_git.bb2
-rw-r--r--recipes-bsp/u-boot/u-boot-fslc-common_2018.07.inc2
-rw-r--r--recipes-bsp/uefi/uefi_git.bb1
-rw-r--r--recipes-dpaa/fmlib/fmlib_git.bb1
-rw-r--r--recipes-graphics/drm/libdrm-armada_git.bb2
-rw-r--r--recipes-graphics/xorg-driver/xf86-video-armada_git.bb2
-rw-r--r--recipes-kernel/kernel-modules/kernel-module-imx-gpu-viv_6.2.4.p1.2+fslc.bb1
-rw-r--r--recipes-kernel/kernel-modules/kernel-module-imx-gpu-viv_6.2.4.p1.2.bb1
-rw-r--r--recipes-security/optee/optee-client-qoriq.bb2
11 files changed, 17 insertions, 0 deletions
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.5.bb b/recipes-bsp/firmware-imx/firmware-imx_7.5.bb
index 3bebe5b2..4ad8af63 100644
--- a/recipes-bsp/firmware-imx/firmware-imx_7.5.bb
+++ b/recipes-bsp/firmware-imx/firmware-imx_7.5.bb
@@ -90,3 +90,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.07.inc b/recipes-bsp/u-boot/u-boot-fslc-common_2018.07.inc
index 50e680eb..64466263 100644
--- a/recipes-bsp/u-boot/u-boot-fslc-common_2018.07.inc
+++ b/recipes-bsp/u-boot/u-boot-fslc-common_2018.07.inc
@@ -14,3 +14,5 @@ SRCBRANCH = "2018.07+fslc"
PV = "v2018.07+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 ce022b98..4ea86ad3 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/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.2.bb b/recipes-kernel/kernel-modules/kernel-module-imx-gpu-viv_6.2.4.p1.2.bb
index 2e59a607..798aa803 100644
--- a/recipes-kernel/kernel-modules/kernel-module-imx-gpu-viv_6.2.4.p1.2.bb
+++ b/recipes-kernel/kernel-modules/kernel-module-imx-gpu-viv_6.2.4.p1.2.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)"