aboutsummaryrefslogtreecommitdiffstats
path: root/toolchain/kernel-headers
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2010-03-14 16:21:18 +0000
committerFlorian Fainelli <florian@openwrt.org>2010-03-14 16:21:18 +0000
commit0193462642bd005e3ab2e36ea45cae2977bc711a (patch)
tree0b9cff1e6ccb607fe1f8ff0322018e4fc909bbcd /toolchain/kernel-headers
parent68b3653d43e1456e139e75fa67f2abc6ce0bd3a5 (diff)
downloadupstream-0193462642bd005e3ab2e36ea45cae2977bc711a.tar.gz
upstream-0193462642bd005e3ab2e36ea45cae2977bc711a.tar.bz2
upstream-0193462642bd005e3ab2e36ea45cae2977bc711a.zip
fix kernel-headers build for uml
SVN-Revision: 20203
Diffstat (limited to 'toolchain/kernel-headers')
-rw-r--r--toolchain/kernel-headers/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/toolchain/kernel-headers/Makefile b/toolchain/kernel-headers/Makefile
index 63687cbf50..47e7b245b1 100644
--- a/toolchain/kernel-headers/Makefile
+++ b/toolchain/kernel-headers/Makefile
@@ -26,7 +26,7 @@ include $(INCLUDE_DIR)/toolchain-build.mk
include $(INCLUDE_DIR)/kernel-defaults.mk
ifeq ($(strip $(BOARD)),uml)
- LINUX_KARCH:=$(ARCH)
+ LINUX_KARCH:=$(subst x86_64,x86,$(subst i386,x86,$(ARCH)))
endif
ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,2.6.18)),1)