Apply Murray's kernel arch patch, with slight alternations.
authorChris Larson <clarson@kergoth.com>
Sat, 27 Nov 2004 21:15:36 +0000 (21:15 +0000)
committerChris Larson <clarson@kergoth.com>
Sat, 27 Nov 2004 21:15:36 +0000 (21:15 +0000)
BKrev: 41a8ee78yO5s_JTaDj8FrDw96brl8w

classes/kernel-arch.oeclass [new file with mode: 0644]
classes/kernel.oeclass
classes/module-base.oeclass

diff --git a/classes/kernel-arch.oeclass b/classes/kernel-arch.oeclass
new file mode 100644 (file)
index 0000000..e69de29
index 3c55e3c..0190e5f 100644 (file)
@@ -3,7 +3,8 @@ inherit module_strip
 PROVIDES += "virtual/kernel"
 DEPENDS += "virtual/${TARGET_PREFIX}depmod virtual/${TARGET_PREFIX}gcc${KERNEL_CCSUFFIX} update-modules"
 
-export ARCH = "${TARGET_ARCH}"
+inherit kernel-arch
+
 export OS = "${TARGET_OS}"
 export CROSS_COMPILE = "${TARGET_PREFIX}"
 KERNEL_IMAGETYPE = "zImage"
index daa8978..77e8ae4 100644 (file)
@@ -1,9 +1,7 @@
 inherit module_strip
 
-export ARCH = "${TARGET_ARCH}"
-export ARCH_i686 = "i386"
-export ARCH_mipsel = "mips"
-export ARCH_armeb = "arm"
+inherit kernel-arch
+
 export OS = "${TARGET_OS}"
 export CROSS_COMPILE = "${TARGET_PREFIX}"