[oe-commits] org.oe.dev classes/kernel-arch.bbclass: Remove powerpc -> ppc conversion. Now both of them exist
ifaistos commit
openembedded-commits at lists.openembedded.org
Tue Feb 27 14:04:58 UTC 2007
classes/kernel-arch.bbclass: Remove powerpc -> ppc conversion. Now both of them exist
Do some cleanup on the supported arches
Author: ifaistos at openembedded.org
Branch: org.openembedded.dev
Revision: 8894b322de91da59f93eca5d1068d1582c805fa9
ViewMTN: http://monotone.openembedded.org/revision.psp?id=8894b322de91da59f93eca5d1068d1582c805fa9
Files:
1
classes/kernel-arch.bbclass
Diffs:
#
# mt diff -r47ee7da747bf732a0cf37513a88f668f27495889 -r8894b322de91da59f93eca5d1068d1582c805fa9
#
#
#
# patch "classes/kernel-arch.bbclass"
# from [36ea38ae5d674653d04375e34797ab2f26f918a4]
# to [8b9086668d3ee66493ad01847913d27c01ad79db]
#
============================================================
--- classes/kernel-arch.bbclass 36ea38ae5d674653d04375e34797ab2f26f918a4
+++ classes/kernel-arch.bbclass 8b9086668d3ee66493ad01847913d27c01ad79db
@@ -1,13 +1,17 @@
#
# set the ARCH environment variable for kernel compilation (including
# modules). return value must match one of the architecture directories
# 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
More information about the Openembedded-commits
mailing list