summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrea Adami <andrea.adami@gmail.com>2009-06-26 01:57:07 +0200
committerAndrea Adami <andrea.adami@gmail.com>2009-06-26 02:03:03 +0200
commit5b8e90765bafd4871489c35040af7a2e5163ad03 (patch)
tree88c4a7cf7e92e80c79d1590a2e7935d3a2e616d2
parent8cbb8558a7439678d43f006412317ad6c0436825 (diff)
sharprom-compatible: add custom COMPATIBLE_MACHINE for c7x0/poodle
embedix kernels
-rw-r--r--conf/distro/sharprom-compatible.conf7
-rw-r--r--recipes/linux/c7x0-kernels-2.4-embedix.bb5
-rw-r--r--recipes/linux/poodle-kernels-2.4-embedix.bb6
3 files changed, 14 insertions, 4 deletions
diff --git a/conf/distro/sharprom-compatible.conf b/conf/distro/sharprom-compatible.conf
index 81f919bed2..bd3b93ec17 100644
--- a/conf/distro/sharprom-compatible.conf
+++ b/conf/distro/sharprom-compatible.conf
@@ -26,11 +26,14 @@ export TARGET_CPPFLAGS = "-I${STAGING_DIR_TARGET}/${layout_includedir}"
#DEBUG_BUILD = "1"
# We are still using 2.4 embedix kernels
-COMPATIBLE_MACHINE_pn-openzaurus-pxa27x = "(akita|spitz)"
-COMPATIBLE_MACHINE_pn-openzaurus-pxa = "(c7x0|poodle|poodle255|tosa)"
+COMPATIBLE_MACHINE_pn-c7x0-kernels = "(c7x0|corgi|husky|shepherd)"
COMPATIBLE_MACHINE_pn-collie-kernels = "collie"
+COMPATIBLE_MACHINE_pn-poodle-kernels = "(poodle|poodle255)"
+COMPATIBLE_MACHINE_pn-openzaurus-pxa27x = "(akita|spitz|borzoi)"
+COMPATIBLE_MACHINE_pn-openzaurus-pxa = "(c7x0|corgi|husky|shepherd|poodle|poodle255|tosa)"
COMPATIBLE_MACHINE_pn-openzaurus-sa = "collie"
+
#
# Base
#
diff --git a/recipes/linux/c7x0-kernels-2.4-embedix.bb b/recipes/linux/c7x0-kernels-2.4-embedix.bb
index 44c9ad2036..60b7a5cafb 100644
--- a/recipes/linux/c7x0-kernels-2.4-embedix.bb
+++ b/recipes/linux/c7x0-kernels-2.4-embedix.bb
@@ -5,7 +5,10 @@ PROVIDES = "virtual/kernel"
PR = "r1"
COMPATIBLE_HOST = "arm.*-linux"
-COMPATIBLE_MACHINE = '(corgi|husky|shepherd)'
+
+# For these old 2.4 kernels we override in sharprom-compatible.conf
+#COMPATIBLE_MACHINE = "(corgi|husky|shepherd)"
+COMPATIBLE_MACHINE = "none"
DEPENDS = "corgi-kernel-2.4-embedix shepherd-kernel-2.4-embedix husky-kernel-2.4-embedix"
diff --git a/recipes/linux/poodle-kernels-2.4-embedix.bb b/recipes/linux/poodle-kernels-2.4-embedix.bb
index 21d334fec3..256ef7125c 100644
--- a/recipes/linux/poodle-kernels-2.4-embedix.bb
+++ b/recipes/linux/poodle-kernels-2.4-embedix.bb
@@ -1,3 +1,7 @@
-COMPATIBLE_MACHINE = "poodle"
COMPATIBLE_HOST = "arm.*-linux"
+
+# For these old 2.4 kernels we override in sharprom-compatible.conf
+#COMPATIBLE_MACHINE = "(poodle|poodle255)"
+COMPATIBLE_MACHINE = "none"
+
DEPENDS = "poodle-kernel-2.4-embedix poodle255-kernel-2.4-embedix"