diff options
author | Andrea Adami <andrea.adami@gmail.com> | 2013-10-09 01:09:46 +0200 |
---|---|---|
committer | Paul Eggleton <paul.eggleton@linux.intel.com> | 2013-10-09 18:06:06 +0100 |
commit | 3c0cf8429ab99620ef04bdf8e7b05aff244096bd (patch) | |
tree | f3cabca06d1dcf2b3910a42f3faa4e6b1f7e9a0a | |
parent | cc6606d80ecadae1ebab27bca294ddfefb09cf86 (diff) | |
download | meta-handheld-3c0cf8429ab99620ef04bdf8e7b05aff244096bd.tar.gz |
linux-yocto-handhelds.inc: split COMPATIBLE_MACHINE filtering
This allows to add new machines to one single kernel variant
Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
4 files changed, 6 insertions, 3 deletions
diff --git a/recipes-kernel/linux/linux-yocto-dev.bbappend b/recipes-kernel/linux/linux-yocto-dev.bbappend index 5d7e4bd..31b2db3 100644 --- a/recipes-kernel/linux/linux-yocto-dev.bbappend +++ b/recipes-kernel/linux/linux-yocto-dev.bbappend @@ -1,5 +1,7 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}-dev:${THISDIR}/${PN}:${THISDIR}/files:" +COMPATIBLE_MACHINE .= "|akita|c7x0|collie|poodle|spitz|tosa" + # Override kernel features #KERNEL_EXTRA_FEATURES ?= "features/netfilter/netfilter.scc" diff --git a/recipes-kernel/linux/linux-yocto-handhelds.inc b/recipes-kernel/linux/linux-yocto-handhelds.inc index 2e0b7a9..119086f 100644 --- a/recipes-kernel/linux/linux-yocto-handhelds.inc +++ b/recipes-kernel/linux/linux-yocto-handhelds.inc @@ -1,5 +1,3 @@ -COMPATIBLE_MACHINE .= "|akita|c7x0|collie|poodle|spitz|tosa" - KMACHINE_akita = "akita" KMACHINE_c7x0 = "c7x0" KMACHINE_collie = "collie" diff --git a/recipes-kernel/linux/linux-yocto-tiny-kexecboot_3.10.bbappend b/recipes-kernel/linux/linux-yocto-tiny-kexecboot_3.10.bbappend index 2ca53cb..eddffd6 100644 --- a/recipes-kernel/linux/linux-yocto-tiny-kexecboot_3.10.bbappend +++ b/recipes-kernel/linux/linux-yocto-tiny-kexecboot_3.10.bbappend @@ -1,5 +1,7 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}-3.10:${THISDIR}/${PN}:${THISDIR}/files:" +COMPATIBLE_MACHINE .= "|akita|c7x0|collie|poodle|spitz|tosa" + # Zaurus machines need kernel size-check. KERNEL_IMAGE_MAXSIZE_akita = "1294336" KERNEL_IMAGE_MAXSIZE_c7x0 = "1294336" diff --git a/recipes-kernel/linux/linux-yocto_3.10.bbappend b/recipes-kernel/linux/linux-yocto_3.10.bbappend index 1f42ecc..537bf37 100644 --- a/recipes-kernel/linux/linux-yocto_3.10.bbappend +++ b/recipes-kernel/linux/linux-yocto_3.10.bbappend @@ -1,5 +1,7 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}-3.10:${THISDIR}/${PN}:${THISDIR}/files:" +COMPATIBLE_MACHINE .= "|akita|c7x0|collie|poodle|spitz|tosa" + # Override kernel features #KERNEL_EXTRA_FEATURES ?= "features/netfilter/netfilter.scc" @@ -10,5 +12,4 @@ KERNEL_EXTRA_FEATURES_poodle ?= "" KERNEL_EXTRA_FEATURES_spitz ?= "" KERNEL_EXTRA_FEATURES_tosa ?= "" - require linux-yocto-handhelds.inc |