projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
88f6e9f
)
get rid of one more $(shell) instance
author
Felix Fietkau
<nbd@openwrt.org>
Tue, 3 Mar 2009 15:28:57 +0000
(15:28 +0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Tue, 3 Mar 2009 15:28:57 +0000
(15:28 +0000)
SVN-Revision: 14741
include/kernel.mk
patch
|
blob
|
history
diff --git
a/include/kernel.mk
b/include/kernel.mk
index 5d5c9e9172b2f0ab39a6e11150e9b984bef31cdc..8b98369b4bf02c469d2142082639c97a521195ba 100644
(file)
--- a/
include/kernel.mk
+++ b/
include/kernel.mk
@@
-53,12
+53,7
@@
ifneq (,$(findstring uml,$(BOARD)))
LINUX_KARCH=um
else
ifeq (,$(LINUX_KARCH))
- LINUX_KARCH=$(shell echo $(ARCH) | sed -e 's/i[3-9]86/x86/' \
- -e 's/mipsel/mips/' \
- -e 's/mipseb/mips/' \
- -e 's/sh[234]/sh/' \
- -e 's/armeb/arm/' \
- )
+ LINUX_KARCH=$(strip $(subst i386,x86,$(subst armeb,arm,$(subst mipsel,mips,$(subst sh2,sh,$(subst sh3,sh,$(subst sh4,sh,$(ARCH))))))))
endif
endif