diff options
author | Florian Boor <florian.boor@kernelconcepts.de> | 2007-06-12 14:45:27 +0000 |
---|---|---|
committer | Florian Boor <florian.boor@kernelconcepts.de> | 2007-06-12 14:45:27 +0000 |
commit | b1f4d34f8541f039d72d423223c91e32540a2fc5 (patch) | |
tree | c50f34a595a58cb31a25d96727c3e2c9c27c0a91 /classes/kernel-arch.bbclass | |
parent | 10013e9ed4e79a2f6ca0ceb6451787aaa47c46e5 (diff) | |
parent | b655c71aac44af6eab2a52774ea810a945592cee (diff) |
merge of '30c320b2f51c86226580e5bbf68fa8b0896a0655'
and '8dfee9b2427785432e4161eb7cc749155230e08e'
Diffstat (limited to 'classes/kernel-arch.bbclass')
-rw-r--r-- | classes/kernel-arch.bbclass | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/classes/kernel-arch.bbclass b/classes/kernel-arch.bbclass index c50a7d5ebf..9208c3507a 100644 --- a/classes/kernel-arch.bbclass +++ b/classes/kernel-arch.bbclass @@ -11,7 +11,8 @@ valid_archs = "alpha cris ia64 \ arm arm26 \ m32r mips \ sh sh64 um h8300 \ - parisc s390 v850" + parisc s390 v850 \ + avr32 blackfin" def map_kernel_arch(a, d): import bb, re @@ -23,7 +24,8 @@ def map_kernel_arch(a, d): elif re.match('armeb$', a): return 'arm' elif re.match('mipsel$', a): return 'mips' elif re.match('sh(3|4)$', a): return 'sh' - elif a in valid_archs: return a + elif re.match('bfin', a): return 'blackfin' + elif a in valid_archs: return a else: bb.error("cannot map '%s' to a linux kernel architecture" % a) |