linux-yocto-handhelds.inc: split COMPATIBLE_MACHINE filtering
PATCH v2 1/1 linux-yocto-handhelds.inc: split COMPATIBLE_MACHINE filtering
This allows to add new machines to one single kernel variant
Signed-off-by Andrea Adami <[email protected]>
--- recipes-kernel/linux/linux-yocto-dev.bbappend | 2 ++ recipes-kernel/linux/linux-yocto-handhelds.inc | 2 -- recipes-kernel/linux/linux-yocto-tiny-kexecboot_3.10.bbappend | 2 ++ recipes-kernel/linux/linux-yocto_3.10.bbappend | 3 ++- 4 files changed, 6 insertions(+), 3 deletions(-)
recipes-kernel/linux/linux-yocto-dev.bbappend +2 -0
@@ -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"
recipes-kernel/linux/linux-yocto-handhelds.inc +0 -2
@@ -1,5 +1,3 @@ -COMPATIBLE_MACHINE .= "|akita|c7x0|collie|poodle|spitz|tosa" - KMACHINE_akita = "akita" KMACHINE_c7x0 = "c7x0" KMACHINE_collie = "collie"
recipes-kernel/linux/linux-yocto-tiny-kexecboot_3.10.bbappend +2 -0
@@ -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"
recipes-kernel/linux/linux-yocto_3.10.bbappend +2 -1
@@ -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
Signature · 1 line
1.8.1.5