From 255b4092885d836233e5e7c82fa4c8a9b0c794e4 Mon Sep 17 00:00:00 2001 From: Seth Bollinger Date: Fri, 6 Sep 2013 13:13:38 -0500 Subject: [PATCH] meta-digi-arm: Make COMPATIBLE_MACHINE more flexible If people are creating derivative machines in their layer, make COMPATIBLE_MACHINE more flexible. Use SOC_FAMILY instead of specific machine types. This allows users to more easily share these recipes. https://jira.digi.com/browse/DEL-676 Signed-off-by: Seth Bollinger Signed-off-by: Alex Gonzalez --- .../recipes-bsp/imx-bootlets-dey/imx-bootlets-dey_git.bb | 2 +- meta-digi-arm/recipes-bsp/kobs-ng/kobs-ng_10.12.01.bb | 2 +- meta-digi-arm/recipes-bsp/u-boot/u-boot-dey_2009.08.bb | 2 +- meta-digi-arm/recipes-bsp/u-boot/u-boot-dey_2013.01.bb | 2 +- .../kernel-module-atheros/kernel-module-atheros.bb | 2 +- .../kernel-module-redpine/kernel-module-redpine.bb | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/meta-digi-arm/recipes-bsp/imx-bootlets-dey/imx-bootlets-dey_git.bb b/meta-digi-arm/recipes-bsp/imx-bootlets-dey/imx-bootlets-dey_git.bb index a074552e0..f02f760da 100644 --- a/meta-digi-arm/recipes-bsp/imx-bootlets-dey/imx-bootlets-dey_git.bb +++ b/meta-digi-arm/recipes-bsp/imx-bootlets-dey/imx-bootlets-dey_git.bb @@ -41,4 +41,4 @@ do_install () { FILES_${PN} = "/boot" PACKAGE_ARCH = "${MACHINE_ARCH}" -COMPATIBLE_MACHINE = "(ccardimx28js|cpx2|wr21)" +COMPATIBLE_MACHINE = "(mxs)" diff --git a/meta-digi-arm/recipes-bsp/kobs-ng/kobs-ng_10.12.01.bb b/meta-digi-arm/recipes-bsp/kobs-ng/kobs-ng_10.12.01.bb index 236764177..3286ada1d 100644 --- a/meta-digi-arm/recipes-bsp/kobs-ng/kobs-ng_10.12.01.bb +++ b/meta-digi-arm/recipes-bsp/kobs-ng/kobs-ng_10.12.01.bb @@ -27,6 +27,6 @@ SRC_URI[sha256sum] = "ef25f5c9033500c236b1894436bddc4e20b90bc17585fbcdf9fe3bbbd9 inherit autotools -COMPATIBLE_MACHINE = "(ccardimx28js|cpx2|wr21)" +COMPATIBLE_MACHINE = "(mxs)" BBCLASSEXTEND = "native" diff --git a/meta-digi-arm/recipes-bsp/u-boot/u-boot-dey_2009.08.bb b/meta-digi-arm/recipes-bsp/u-boot/u-boot-dey_2009.08.bb index 2051ec841..b5e2125f6 100644 --- a/meta-digi-arm/recipes-bsp/u-boot/u-boot-dey_2009.08.bb +++ b/meta-digi-arm/recipes-bsp/u-boot/u-boot-dey_2009.08.bb @@ -22,4 +22,4 @@ EXTRA_OEMAKE += 'HOSTSTRIP=true' EXTRA_OEMAKE_append_mxs = ' BOOTLETS_DIR=${STAGING_DIR_TARGET}/boot' PACKAGE_ARCH = "${MACHINE_ARCH}" -COMPATIBLE_MACHINE = "(ccardimx28js|ccimx51js|ccimx53js|cpx2|wr21)" +COMPATIBLE_MACHINE = "(mxs|mx5)" diff --git a/meta-digi-arm/recipes-bsp/u-boot/u-boot-dey_2013.01.bb b/meta-digi-arm/recipes-bsp/u-boot/u-boot-dey_2013.01.bb index 7f3e91675..9dced1cfb 100644 --- a/meta-digi-arm/recipes-bsp/u-boot/u-boot-dey_2013.01.bb +++ b/meta-digi-arm/recipes-bsp/u-boot/u-boot-dey_2013.01.bb @@ -18,4 +18,4 @@ UBOOT_SUFFIX_mxs = "sb" DEPENDS_mxs += "elftosb-native" PACKAGE_ARCH = "${MACHINE_ARCH}" -COMPATIBLE_MACHINE = "(ccardimx28js|cpx2|wr21)" +COMPATIBLE_MACHINE = "(mxs)" diff --git a/meta-digi-arm/recipes-kernel/kernel-module-atheros/kernel-module-atheros.bb b/meta-digi-arm/recipes-kernel/kernel-module-atheros/kernel-module-atheros.bb index 8c3c66fb2..611b24b21 100644 --- a/meta-digi-arm/recipes-kernel/kernel-module-atheros/kernel-module-atheros.bb +++ b/meta-digi-arm/recipes-kernel/kernel-module-atheros/kernel-module-atheros.bb @@ -51,4 +51,4 @@ FILES_${PN} += " \ " PACKAGE_ARCH = "${MACHINE_ARCH}" -COMPATIBLE_MACHINE = "(ccardimx28js|cpx2)" +COMPATIBLE_MACHINE = "(mxs)" diff --git a/meta-digi-arm/recipes-kernel/kernel-module-redpine/kernel-module-redpine.bb b/meta-digi-arm/recipes-kernel/kernel-module-redpine/kernel-module-redpine.bb index 0ccaef7da..3f6e7a209 100644 --- a/meta-digi-arm/recipes-kernel/kernel-module-redpine/kernel-module-redpine.bb +++ b/meta-digi-arm/recipes-kernel/kernel-module-redpine/kernel-module-redpine.bb @@ -60,4 +60,4 @@ FILES_${PN} += " \ " PACKAGE_ARCH = "${MACHINE_ARCH}" -COMPATIBLE_MACHINE = "(ccimx51js|ccimx53js)" +COMPATIBLE_MACHINE = "(mx5)"