aboutsummaryrefslogtreecommitdiffstats
path: root/toolchain/kernel-headers/Makefile
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
commit97a8b93e788ea87fc7eabeabe5686a7b639e5182 (patch)
tree8b49d2a17dca697b10ab60ec2de1af9cb866433e /toolchain/kernel-headers/Makefile
parent8979a44c562db22ce7692f4124c17b4b839362a9 (diff)
downloadupstream-97a8b93e788ea87fc7eabeabe5686a7b639e5182.tar.gz
upstream-97a8b93e788ea87fc7eabeabe5686a7b639e5182.tar.bz2
upstream-97a8b93e788ea87fc7eabeabe5686a7b639e5182.zip
[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 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)