summaryrefslogtreecommitdiffstats
path: root/toolchain/kernel-headers/Makefile
diff options
context:
space:
mode:
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-03-14 16:21:18 +0000
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-03-14 16:21:18 +0000
commit34d8a52831de58408d4081051e1d2007bd83b7e5 (patch)
tree8b49d2a17dca697b10ab60ec2de1af9cb866433e /toolchain/kernel-headers/Makefile
parent39ccb5bc773002678a53533b3fa63f55e9256e60 (diff)
[toolchain] fix kernel-headers build for uml
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20203 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'toolchain/kernel-headers/Makefile')
-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 63687cbf5..47e7b245b 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)