Skip to contentSkip to conversation

recipes: Limit BSP specific recipes on relevant SOCs

PATCH Superseded Khem Raj 1 participant 1 message Sep 25, 2018 Arm i.MX and Layerscape

v3 of 5 Superseded Latest is v5 →

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH v3 2/2 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

Cc Andreas Müller <[email protected]>
Cc Zhenhua Luo <[email protected]>

---
v2: nativesdk-mxsldr is needed in SDK packagegroups
v3: Fine tune the overrides for qorq and mainline bsp specific recipes

 dynamic-layers/openembedded-layer/recipes-dpaa/fmc/fmc_git.bb  | 2 ++
 recipes-bsp/firmware-imx/firmware-imx_7.6.bb                   | 3 +++
 recipes-bsp/u-boot/u-boot-fslc-common_2018.09.inc              | 3 +++
 recipes-bsp/uefi/uefi_git.bb                                   | 2 ++
 recipes-dpaa/fmlib/fmlib_git.bb                                | 2 ++
 recipes-graphics/drm/libdrm-armada_git.bb                      | 3 +++
 recipes-graphics/xorg-driver/xf86-video-armada_git.bb          | 3 +++
 recipes-kernel/dtc/dtc-145_git.bb                              | 2 ++
 .../kernel-module-imx-gpu-viv_6.2.4.p1.2+fslc.bb               | 2 ++
 .../kernel-modules/kernel-module-imx-gpu-viv_6.2.4.p1.6.bb     | 2 ++
 10 files changed, 24 insertions(+)
dynamic-layers/openembedded-layer/recipes-dpaa/fmc/fmc_git.bb +2 -0
index 76ece625..c81292c6 100644
@@ -45,3 +45,5 @@ PARALLEL_MAKE = ""
 
 PACKAGE_ARCH = "${MACHINE_SOCARCH}"
 
+COMPATIBLE_HOST ?= "null"
+COMPATIBLE_HOST_qoriq = "(.*)"
recipes-bsp/firmware-imx/firmware-imx_7.6.bb +3 -0
index 6c5f73ce..1a257d16 100644
@@ -100,3 +100,6 @@ 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_HOST ?= "null"
+COMPATIBLE_HOST_imx = "(.*)"
recipes-bsp/u-boot/u-boot-fslc-common_2018.09.inc +3 -0
index aaefd67f..b728d4ad 100644
@@ -14,3 +14,6 @@ SRCBRANCH = "2018.09+fslc"
 PV = "v2018.09+git${SRCPV}"
 
 S = "${WORKDIR}/git"
+
+COMPATIBLE_HOST ?= "null"
+COMPATIBLE_HOST_imx = "(.*)"
recipes-bsp/uefi/uefi_git.bb +2 -0
index f157d03d..d2cd56a2 100644
@@ -28,3 +28,5 @@ FILES_${PN}-image += "/uefi/*"
 
 PACKAGE_ARCH = "${MACHINE_SOCARCH}"
 
+COMPATIBLE_HOST ?= "null"
+COMPATIBLE_HOST_qoriq = "(.*)"
recipes-dpaa/fmlib/fmlib_git.bb +2 -0
index bbe1e535..6c796360 100644
@@ -28,3 +28,5 @@ ALLOW_EMPTY_${PN} = "1"
 
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 
+COMPATIBLE_MACHINE ?= "null"
+COMPATIBLE_MACHINE_qoriq = "(.*)"
recipes-graphics/drm/libdrm-armada_git.bb +3 -0
index 937c68d7..483dbdd5 100644
@@ -13,3 +13,6 @@ SRC_URI = "git://git.armlinux.org.uk/~rmk/libdrm-armada.git"
 inherit autotools pkgconfig
 
 S = "${WORKDIR}/git"
+
+COMPATIBLE_HOST ?= "null"
+COMPATIBLE_HOST_use_mainline_bsp = "(.*)"
recipes-graphics/xorg-driver/xf86-video-armada_git.bb +3 -0
index 30e3ae47..89d1ba05 100644
@@ -44,3 +44,6 @@ EXTRA_OECONF = "--disable-etnaviv \
                 --disable-vivante \
                 --with-etnaviv-source=${WORKDIR}/etna_viv \
                 "
+
+COMPATIBLE_HOST ?= "null"
+COMPATIBLE_HOST_use_mainline_bsp = "(.*)"
recipes-kernel/dtc/dtc-145_git.bb +2 -0
index 2776cc5e..2ce92ec2 100644
@@ -16,3 +16,5 @@ do_install () {
     install -d ${D}/${bindir}
     install -m 755 dtc ${D}/${bindir}/dtc-145
 }
+COMPATIBLE_HOST ?= "null"
+COMPATIBLE_HOST_imx = "(.*)"
recipes-kernel/kernel-modules/kernel-module-imx-gpu-viv_6.2.4.p1.2+fslc.bb +2 -0
index 19f2dc7f..d5d91320 100644
@@ -17,3 +17,5 @@ S = "${WORKDIR}/git"
 inherit module
 
 KERNEL_MODULE_AUTOLOAD = "galcore"
+COMPATIBLE_MACHINE ?= "null"
+COMPATIBLE_MACHINE_imx = "(.*)"
recipes-kernel/kernel-modules/kernel-module-imx-gpu-viv_6.2.4.p1.6.bb +2 -0
index 0170695b..8fa5ef93 100644
@@ -24,3 +24,5 @@ inherit module
 EXTRA_OEMAKE += "CONFIG_MXC_GPU_VIV=m"
 
 KERNEL_MODULE_AUTOLOAD = "galcore"
+COMPATIBLE_MACHINE ?= "null"
+COMPATIBLE_MACHINE_imx = "(.*)"
Signature · 1 line
2.19.0