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 <sethb@digi.com>
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
This commit is contained in:
Seth Bollinger 2013-09-06 13:13:38 -05:00 committed by Alex Gonzalez
parent 9ad3ccc496
commit 255b409288
6 changed files with 6 additions and 6 deletions

View File

@ -41,4 +41,4 @@ do_install () {
FILES_${PN} = "/boot"
PACKAGE_ARCH = "${MACHINE_ARCH}"
COMPATIBLE_MACHINE = "(ccardimx28js|cpx2|wr21)"
COMPATIBLE_MACHINE = "(mxs)"

View File

@ -27,6 +27,6 @@ SRC_URI[sha256sum] = "ef25f5c9033500c236b1894436bddc4e20b90bc17585fbcdf9fe3bbbd9
inherit autotools
COMPATIBLE_MACHINE = "(ccardimx28js|cpx2|wr21)"
COMPATIBLE_MACHINE = "(mxs)"
BBCLASSEXTEND = "native"

View File

@ -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)"

View File

@ -18,4 +18,4 @@ UBOOT_SUFFIX_mxs = "sb"
DEPENDS_mxs += "elftosb-native"
PACKAGE_ARCH = "${MACHINE_ARCH}"
COMPATIBLE_MACHINE = "(ccardimx28js|cpx2|wr21)"
COMPATIBLE_MACHINE = "(mxs)"

View File

@ -51,4 +51,4 @@ FILES_${PN} += " \
"
PACKAGE_ARCH = "${MACHINE_ARCH}"
COMPATIBLE_MACHINE = "(ccardimx28js|cpx2)"
COMPATIBLE_MACHINE = "(mxs)"

View File

@ -60,4 +60,4 @@ FILES_${PN} += " \
"
PACKAGE_ARCH = "${MACHINE_ARCH}"
COMPATIBLE_MACHINE = "(ccimx51js|ccimx53js)"
COMPATIBLE_MACHINE = "(mx5)"