summaryrefslogtreecommitdiff
path: root/classes/kernel-arch.bbclass
diff options
context:
space:
mode:
authorStelios Koroneos <skoroneos@digital-opsis.com>2007-02-27 14:01:25 +0000
committerStelios Koroneos <skoroneos@digital-opsis.com>2007-02-27 14:01:25 +0000
commit1ab003ce956f37c2d80449e14de84aa27ace5af7 (patch)
tree84caebef56d5102a485d31a616473baa67d70ba9 /classes/kernel-arch.bbclass
parent26538dad88d811c990e0360c74260c3535f0b180 (diff)
classes/kernel-arch.bbclass: Remove powerpc -> ppc conversion. Now both of them exist
Do some cleanup on the supported arches
Diffstat (limited to 'classes/kernel-arch.bbclass')
-rw-r--r--classes/kernel-arch.bbclass13
1 files changed, 8 insertions, 5 deletions
diff --git a/classes/kernel-arch.bbclass b/classes/kernel-arch.bbclass
index b331d25614..c50a7d5ebf 100644
--- a/classes/kernel-arch.bbclass
+++ b/classes/kernel-arch.bbclass
@@ -4,10 +4,14 @@
# in the kernel source "arch" directory
#
-valid_archs = "alpha cris ia64 m68knommu ppc sh \
- sparc64 x86_64 arm h8300 m32r mips \
- ppc64 sh64 um arm26 i386 m68k \
- parisc s390 sparc v850"
+valid_archs = "alpha cris ia64 \
+ x86_64,i386 \
+ m68knommu m68k ppc powerpc ppc64 \
+ sparc sparc64 \
+ arm arm26 \
+ m32r mips \
+ sh sh64 um h8300 \
+ parisc s390 v850"
def map_kernel_arch(a, d):
import bb, re
@@ -17,7 +21,6 @@ def map_kernel_arch(a, d):
if re.match('(i.86|athlon)$', a): return 'i386'
elif re.match('arm26$', a): return 'arm26'
elif re.match('armeb$', a): return 'arm'
- elif re.match('powerpc$', a): return 'ppc'
elif re.match('mipsel$', a): return 'mips'
elif re.match('sh(3|4)$', a): return 'sh'
elif a in valid_archs: return a