git.openpandora.org
/
openembedded.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8812dfe
)
classes/kernel-arch.bbclass: Update the kernel arch selection so that
author
Jamie Lenehan
<lenehan@twibble.org>
Tue, 25 Jul 2006 03:20:54 +0000
(
03:20
+0000)
committer
Jamie Lenehan
<lenehan@twibble.org>
Tue, 25 Jul 2006 03:20:54 +0000
(
03:20
+0000)
sh3 and sh4 use the sh architecture. Without this building add on
kernel modules (madwifi-ng for example) for sh3 or sh4 fails due to
the inability to determine the kernel arch to use.
classes/kernel-arch.bbclass
patch
|
blob
|
history
diff --git
a/classes/kernel-arch.bbclass
b/classes/kernel-arch.bbclass
index
92a6c98
..
b331d25
100644
(file)
--- a/
classes/kernel-arch.bbclass
+++ b/
classes/kernel-arch.bbclass
@@
-19,6
+19,7
@@
def map_kernel_arch(a, d):
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
else:
bb.error("cannot map '%s' to a linux kernel architecture" % a)