diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/kernel.mk | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/include/kernel.mk b/include/kernel.mk index 7486057052..f9baeef0ac 100644 --- a/include/kernel.mk +++ b/include/kernel.mk @@ -51,13 +51,14 @@ endif ifneq (,$(findstring uml,$(BOARD))) LINUX_KARCH:=um else - LINUX_KARCH:=$(shell echo $(ARCH) | sed -e 's/i[3-9]86/i386/' \ - -e 's/mipsel/mips/' \ - -e 's/mipseb/mips/' \ - -e 's/powerpc/ppc/' \ - -e 's/sh[234]/sh/' \ - -e 's/armeb/arm/' \ - ) + ifeq (,$(LINUX_KARCH)) + LINUX_KARCH:=$(shell echo $(ARCH) | sed -e 's/i[3-9]86/i386/' \ + -e 's/mipsel/mips/' \ + -e 's/mipseb/mips/' \ + -e 's/sh[234]/sh/' \ + -e 's/armeb/arm/' \ + ) + endif endif |