All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] recipes: Mark compatible machines as restricted by dependencies
@ 2018-09-25  1:01 Khem Raj
  2018-09-25  1:01 ` [PATCH 2/2] recipes: Limit BSP specific recipes on relevant SOCs Khem Raj
  0 siblings, 1 reply; 3+ messages in thread
From: Khem Raj @ 2018-09-25  1:01 UTC (permalink / raw)
  To: meta-freescale; +Cc: Khem Raj

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 recipes-extended/pktgen-dpdk/pktgen-dpdk_git.bb       | 1 +
 recipes-fsl/packagegroups/packagegroup-fsl-mfgtool.bb | 1 +
 recipes-security/optee/optee-test-qoriq_git.bb        | 1 +
 3 files changed, 3 insertions(+)

diff --git a/recipes-extended/pktgen-dpdk/pktgen-dpdk_git.bb b/recipes-extended/pktgen-dpdk/pktgen-dpdk_git.bb
index ae62d544..0b237a65 100644
--- a/recipes-extended/pktgen-dpdk/pktgen-dpdk_git.bb
+++ b/recipes-extended/pktgen-dpdk/pktgen-dpdk_git.bb
@@ -30,3 +30,4 @@ INSANE_SKIP_${PN} = "ldflags"
 INHIBIT_PACKAGE_STRIP = "1"
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 PARALLEL_MAKE = ""
+COMPATIBLE_MACHINE = "(ls2080ardb|ls2084ardb|ls2088a|ls1043a|ls1046a|ls1088a)"
diff --git a/recipes-fsl/packagegroups/packagegroup-fsl-mfgtool.bb b/recipes-fsl/packagegroups/packagegroup-fsl-mfgtool.bb
index 5638f084..ab378cf5 100644
--- a/recipes-fsl/packagegroups/packagegroup-fsl-mfgtool.bb
+++ b/recipes-fsl/packagegroups/packagegroup-fsl-mfgtool.bb
@@ -46,3 +46,4 @@ RDEPENDS_${PN}-extfs = " \
     e2fsprogs-mke2fs \
     e2fsprogs-e2fsck \
 "
+COMPATIBLE_MACHINE = "(imx)"
diff --git a/recipes-security/optee/optee-test-qoriq_git.bb b/recipes-security/optee/optee-test-qoriq_git.bb
index 06b8f642..b01339b6 100644
--- a/recipes-security/optee/optee-test-qoriq_git.bb
+++ b/recipes-security/optee/optee-test-qoriq_git.bb
@@ -46,3 +46,4 @@ FILES_${PN} += "/lib/optee_armtz/"
 
 # Imports machine specific configs from staging to build
 PACKAGE_ARCH = "${MACHINE_ARCH}"
+COMPATIBLE_MACHINE = "(ls1043ardb|ls1046ardb|ls1012ardb)"
-- 
2.19.0



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [PATCH 2/2] recipes: Limit BSP specific recipes on relevant SOCs
  2018-09-25  1:01 [PATCH 1/2] recipes: Mark compatible machines as restricted by dependencies Khem Raj
@ 2018-09-25  1:01 ` Khem Raj
  2018-09-25  6:32   ` Andreas Müller
  0 siblings, 1 reply; 3+ messages in thread
From: Khem Raj @ 2018-09-25  1:01 UTC (permalink / raw)
  To: meta-freescale; +Cc: Khem Raj

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>
---
 dynamic-layers/openembedded-layer/recipes-dpaa/fmc/fmc_git.bb  | 2 ++
 recipes-bsp/firmware-imx/firmware-imx_7.6.bb                   | 3 +++
 recipes-bsp/mxsldr/mxsldr_git.bb                               | 2 ++
 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 ++
 11 files changed, 26 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..96a0dc4f 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,5 @@ PARALLEL_MAKE = ""
 
 PACKAGE_ARCH = "${MACHINE_SOCARCH}"
 
+COMPATIBLE_HOST ?= "null"
+COMPATIBLE_HOST_imx = "(.*)"
diff --git a/recipes-bsp/firmware-imx/firmware-imx_7.6.bb b/recipes-bsp/firmware-imx/firmware-imx_7.6.bb
index 6c5f73ce..1a257d16 100644
--- a/recipes-bsp/firmware-imx/firmware-imx_7.6.bb
+++ b/recipes-bsp/firmware-imx/firmware-imx_7.6.bb
@@ -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 = "(.*)"
diff --git a/recipes-bsp/mxsldr/mxsldr_git.bb b/recipes-bsp/mxsldr/mxsldr_git.bb
index 5c4b874b..bb7ca857 100644
--- a/recipes-bsp/mxsldr/mxsldr_git.bb
+++ b/recipes-bsp/mxsldr/mxsldr_git.bb
@@ -16,3 +16,5 @@ S = "${WORKDIR}/git"
 inherit autotools-brokensep pkgconfig
 
 BBCLASSEXTEND = "native nativesdk"
+COMPATIBLE_HOST ?= "null"
+COMPATIBLE_HOST_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..b728d4ad 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,6 @@ SRCBRANCH = "2018.09+fslc"
 PV = "v2018.09+git${SRCPV}"
 
 S = "${WORKDIR}/git"
+
+COMPATIBLE_HOST ?= "null"
+COMPATIBLE_HOST_imx = "(.*)"
diff --git a/recipes-bsp/uefi/uefi_git.bb b/recipes-bsp/uefi/uefi_git.bb
index f157d03d..c683ff46 100644
--- a/recipes-bsp/uefi/uefi_git.bb
+++ b/recipes-bsp/uefi/uefi_git.bb
@@ -28,3 +28,5 @@ FILES_${PN}-image += "/uefi/*"
 
 PACKAGE_ARCH = "${MACHINE_SOCARCH}"
 
+COMPATIBLE_HOST ?= "null"
+COMPATIBLE_HOST_imx = "(.*)"
diff --git a/recipes-dpaa/fmlib/fmlib_git.bb b/recipes-dpaa/fmlib/fmlib_git.bb
index bbe1e535..1d9ca761 100644
--- a/recipes-dpaa/fmlib/fmlib_git.bb
+++ b/recipes-dpaa/fmlib/fmlib_git.bb
@@ -28,3 +28,5 @@ ALLOW_EMPTY_${PN} = "1"
 
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 
+COMPATIBLE_MACHINE ?= "null"
+COMPATIBLE_MACHINE_imx = "(.*)"
diff --git a/recipes-graphics/drm/libdrm-armada_git.bb b/recipes-graphics/drm/libdrm-armada_git.bb
index 937c68d7..990da398 100644
--- a/recipes-graphics/drm/libdrm-armada_git.bb
+++ b/recipes-graphics/drm/libdrm-armada_git.bb
@@ -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 = "(.*)"
diff --git a/recipes-graphics/xorg-driver/xf86-video-armada_git.bb b/recipes-graphics/xorg-driver/xf86-video-armada_git.bb
index 30e3ae47..a1e9ccdd 100644
--- a/recipes-graphics/xorg-driver/xf86-video-armada_git.bb
+++ b/recipes-graphics/xorg-driver/xf86-video-armada_git.bb
@@ -44,3 +44,6 @@ EXTRA_OECONF = "--disable-etnaviv \
                 --disable-vivante \
                 --with-etnaviv-source=${WORKDIR}/etna_viv \
                 "
+
+COMPATIBLE_HOST ?= "null"
+COMPATIBLE_HOST_imx = "(.*)"
diff --git a/recipes-kernel/dtc/dtc-145_git.bb b/recipes-kernel/dtc/dtc-145_git.bb
index 2776cc5e..2ce92ec2 100644
--- a/recipes-kernel/dtc/dtc-145_git.bb
+++ b/recipes-kernel/dtc/dtc-145_git.bb
@@ -16,3 +16,5 @@ do_install () {
     install -d ${D}/${bindir}
     install -m 755 dtc ${D}/${bindir}/dtc-145
 }
+COMPATIBLE_HOST ?= "null"
+COMPATIBLE_HOST_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..d5d91320 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,5 @@ S = "${WORKDIR}/git"
 inherit module
 
 KERNEL_MODULE_AUTOLOAD = "galcore"
+COMPATIBLE_MACHINE ?= "null"
+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..8fa5ef93 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,5 @@ inherit module
 EXTRA_OEMAKE += "CONFIG_MXC_GPU_VIV=m"
 
 KERNEL_MODULE_AUTOLOAD = "galcore"
+COMPATIBLE_MACHINE ?= "null"
+COMPATIBLE_MACHINE_imx = "(.*)"
-- 
2.19.0



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH 2/2] recipes: Limit BSP specific recipes on relevant SOCs
  2018-09-25  1:01 ` [PATCH 2/2] recipes: Limit BSP specific recipes on relevant SOCs Khem Raj
@ 2018-09-25  6:32   ` Andreas Müller
  0 siblings, 0 replies; 3+ messages in thread
From: Andreas Müller @ 2018-09-25  6:32 UTC (permalink / raw)
  To: Khem Raj; +Cc: meta-freescale Mailing List

On Tue, Sep 25, 2018 at 3:01 AM, Khem Raj <raj.khem@gmail.com> wrote:
> 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>
> ---
>  dynamic-layers/openembedded-layer/recipes-dpaa/fmc/fmc_git.bb  | 2 ++
>  recipes-bsp/firmware-imx/firmware-imx_7.6.bb                   | 3 +++
>  recipes-bsp/mxsldr/mxsldr_git.bb                               | 2 ++
>  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 ++
>  11 files changed, 26 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..96a0dc4f 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,5 @@ PARALLEL_MAKE = ""
>
>  PACKAGE_ARCH = "${MACHINE_SOCARCH}"
>
> +COMPATIBLE_HOST ?= "null"
> +COMPATIBLE_HOST_imx = "(.*)"
> diff --git a/recipes-bsp/firmware-imx/firmware-imx_7.6.bb b/recipes-bsp/firmware-imx/firmware-imx_7.6.bb
> index 6c5f73ce..1a257d16 100644
> --- a/recipes-bsp/firmware-imx/firmware-imx_7.6.bb
> +++ b/recipes-bsp/firmware-imx/firmware-imx_7.6.bb
> @@ -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 = "(.*)"
> diff --git a/recipes-bsp/mxsldr/mxsldr_git.bb b/recipes-bsp/mxsldr/mxsldr_git.bb
> index 5c4b874b..bb7ca857 100644
> --- a/recipes-bsp/mxsldr/mxsldr_git.bb
> +++ b/recipes-bsp/mxsldr/mxsldr_git.bb
> @@ -16,3 +16,5 @@ S = "${WORKDIR}/git"
>  inherit autotools-brokensep pkgconfig
>
>  BBCLASSEXTEND = "native nativesdk"
> +COMPATIBLE_HOST ?= "null"
> +COMPATIBLE_HOST_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..b728d4ad 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,6 @@ SRCBRANCH = "2018.09+fslc"
>  PV = "v2018.09+git${SRCPV}"
>
>  S = "${WORKDIR}/git"
> +
> +COMPATIBLE_HOST ?= "null"
> +COMPATIBLE_HOST_imx = "(.*)"
> diff --git a/recipes-bsp/uefi/uefi_git.bb b/recipes-bsp/uefi/uefi_git.bb
> index f157d03d..c683ff46 100644
> --- a/recipes-bsp/uefi/uefi_git.bb
> +++ b/recipes-bsp/uefi/uefi_git.bb
> @@ -28,3 +28,5 @@ FILES_${PN}-image += "/uefi/*"
>
>  PACKAGE_ARCH = "${MACHINE_SOCARCH}"
>
> +COMPATIBLE_HOST ?= "null"
> +COMPATIBLE_HOST_imx = "(.*)"
> diff --git a/recipes-dpaa/fmlib/fmlib_git.bb b/recipes-dpaa/fmlib/fmlib_git.bb
> index bbe1e535..1d9ca761 100644
> --- a/recipes-dpaa/fmlib/fmlib_git.bb
> +++ b/recipes-dpaa/fmlib/fmlib_git.bb
> @@ -28,3 +28,5 @@ ALLOW_EMPTY_${PN} = "1"
>
>  PACKAGE_ARCH = "${MACHINE_ARCH}"
>
> +COMPATIBLE_MACHINE ?= "null"
> +COMPATIBLE_MACHINE_imx = "(.*)"
> diff --git a/recipes-graphics/drm/libdrm-armada_git.bb b/recipes-graphics/drm/libdrm-armada_git.bb
> index 937c68d7..990da398 100644
> --- a/recipes-graphics/drm/libdrm-armada_git.bb
> +++ b/recipes-graphics/drm/libdrm-armada_git.bb
> @@ -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 = "(.*)"
^ I bet this breaks suse-mainline-bsp. Shhouldn't this be
COMPATIBLE_HOST_use_mainline_bsp?
> diff --git a/recipes-graphics/xorg-driver/xf86-video-armada_git.bb b/recipes-graphics/xorg-driver/xf86-video-armada_git.bb
> index 30e3ae47..a1e9ccdd 100644
> --- a/recipes-graphics/xorg-driver/xf86-video-armada_git.bb
> +++ b/recipes-graphics/xorg-driver/xf86-video-armada_git.bb
> @@ -44,3 +44,6 @@ EXTRA_OECONF = "--disable-etnaviv \
>                  --disable-vivante \
>                  --with-etnaviv-source=${WORKDIR}/etna_viv \
>                  "
> +
> +COMPATIBLE_HOST ?= "null"
> +COMPATIBLE_HOST_imx = "(.*)"
^ Same

As far as I know the 'armadas' are required for
mainline-kernel/etnaviv only. Did you test use_mainline_bsp override?

Andreas


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-09-25  6:32 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-09-25  1:01 [PATCH 1/2] recipes: Mark compatible machines as restricted by dependencies Khem Raj
2018-09-25  1:01 ` [PATCH 2/2] recipes: Limit BSP specific recipes on relevant SOCs Khem Raj
2018-09-25  6:32   ` Andreas Müller

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.