recipes: Limit BSP specific recipes on relevant SOCs
PATCH v2 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
---
v2: nativesdk-mxsldr is needed in SDK packagegroups
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
@@ -45,3 +45,5 @@ PARALLEL_MAKE = "" PACKAGE_ARCH = "${MACHINE_SOCARCH}" +COMPATIBLE_HOST ?= "null" +COMPATIBLE_HOST_imx = "(.*)"
recipes-bsp/firmware-imx/firmware-imx_7.6.bb +3 -0
@@ -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
@@ -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
@@ -28,3 +28,5 @@ FILES_${PN}-image += "/uefi/*" PACKAGE_ARCH = "${MACHINE_SOCARCH}" +COMPATIBLE_HOST ?= "null" +COMPATIBLE_HOST_imx = "(.*)"
recipes-dpaa/fmlib/fmlib_git.bb +2 -0
@@ -28,3 +28,5 @@ ALLOW_EMPTY_${PN} = "1" PACKAGE_ARCH = "${MACHINE_ARCH}" +COMPATIBLE_MACHINE ?= "null" +COMPATIBLE_MACHINE_imx = "(.*)"
recipes-graphics/drm/libdrm-armada_git.bb +3 -0
@@ -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_imx = "(.*)"
recipes-graphics/xorg-driver/xf86-video-armada_git.bb +3 -0
@@ -44,3 +44,6 @@ EXTRA_OECONF = "--disable-etnaviv \ --disable-vivante \ --with-etnaviv-source=${WORKDIR}/etna_viv \ " + +COMPATIBLE_HOST ?= "null" +COMPATIBLE_HOST_imx = "(.*)"
recipes-kernel/dtc/dtc-145_git.bb +2 -0
@@ -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
@@ -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
@@ -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
The fmc, uefi and fmlib only support QorIQ targets currently.
Best Regards,
Zhenhua
-----Original Message-----
From: [email protected] <[email protected]> On Behalf Of Khem Raj
Sent: Tuesday, September 25, 2018 11:12 AM
To: [email protected]
Cc: Khem Raj <[email protected]>
Subject: [meta-freescale] [PATCH V2 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
---
v2: nativesdk-mxsldr is needed in SDK packagegroups
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
@@ -45,3 +45,5 @@ PARALLEL_MAKE = "" PACKAGE_ARCH = "${MACHINE_SOCARCH}" +COMPATIBLE_HOST ?= "null" +COMPATIBLE_HOST_imx = "(.*)"
recipes-bsp/firmware-imx/firmware-imx_7.6.bb +3 -0
@@ -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
@@ -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
@@ -28,3 +28,5 @@ FILES_${PN}-image += "/uefi/*" PACKAGE_ARCH = "${MACHINE_SOCARCH}" +COMPATIBLE_HOST ?= "null" +COMPATIBLE_HOST_imx = "(.*)"
recipes-dpaa/fmlib/fmlib_git.bb +2 -0
@@ -28,3 +28,5 @@ ALLOW_EMPTY_${PN} = "1" PACKAGE_ARCH = "${MACHINE_ARCH}" +COMPATIBLE_MACHINE ?= "null" +COMPATIBLE_MACHINE_imx = "(.*)"
recipes-graphics/drm/libdrm-armada_git.bb +3 -0
@@ -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_imx = "(.*)"
recipes-graphics/xorg-driver/xf86-video-armada_git.bb +3 -0
@@ -44,3 +44,6 @@ EXTRA_OECONF = "--disable-etnaviv \ --disable-vivante \ --with-etnaviv-source=${WORKDIR}/etna_viv \ " + +COMPATIBLE_HOST ?= "null" +COMPATIBLE_HOST_imx = "(.*)"
recipes-kernel/dtc/dtc-145_git.bb +2 -0
@@ -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 renamed from recipes-kernel/kernel-modules/kernel-module-imx-gpu-viv_6.2.4.p1.2+fslc.bb +0 -0
+++ +fslc.bb
@@ -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 renamed from recipes-kernel/kernel-modules/kernel-module-imx-gpu-viv_6.2.4.p1.6.bb +0 -0
+++ .bb
@@ -24,3 +24,5 @@ inherit module
EXTRA_OEMAKE += "CONFIG_MXC_GPU_VIV=m"
KERNEL_MODULE_AUTOLOAD = "galcore"
+COMPATIBLE_MACHINE ?= "null"
+COMPATIBLE_MACHINE_imx = "(.*)"
--
2.19.0
--
_______________________________________________
meta-freescale mailing list
[email protected]
https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.yoctoproject.org%2Flistinfo%2Fmeta-freescale&data=02%7C01%7Czhenhua.luo%40nxp.com%7C83d256c8827b48790dc308d62294c4cc%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C0%7C636734419691163176&sdata=VMA7HgrxOduzQnUL64wp6QTQJ3xYRHjlJt8AzC%2FtlR4%3D&reserved=0