[oe-commits] Andrea Adami : sharprom-compatible: add custom COMPATIBLE_MACHINE for c7x0/ poodle

git version control git at git.openembedded.org
Fri Jun 26 00:03:13 UTC 2009


Module: openembedded.git
Branch: org.openembedded.dev
Commit: 5b8e90765bafd4871489c35040af7a2e5163ad03
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=5b8e90765bafd4871489c35040af7a2e5163ad03

Author: Andrea Adami <andrea.adami at gmail.com>
Date:   Fri Jun 26 01:57:07 2009 +0200

sharprom-compatible: add custom COMPATIBLE_MACHINE for c7x0/poodle
embedix kernels

---

 conf/distro/sharprom-compatible.conf        |    7 +++++--
 recipes/linux/c7x0-kernels-2.4-embedix.bb   |    5 ++++-
 recipes/linux/poodle-kernels-2.4-embedix.bb |    6 +++++-
 3 files changed, 14 insertions(+), 4 deletions(-)

diff --git a/conf/distro/sharprom-compatible.conf b/conf/distro/sharprom-compatible.conf
index 81f919b..bd3b93e 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 44c9ad2..60b7a5c 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 21d334f..256ef71 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"





More information about the Openembedded-commits mailing list