From 34d8a52831de58408d4081051e1d2007bd83b7e5 Mon Sep 17 00:00:00 2001 From: florian Date: Sun, 14 Mar 2010 16:21:18 +0000 Subject: [toolchain] fix kernel-headers build for uml git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20203 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- toolchain/kernel-headers/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'toolchain/kernel-headers') 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) -- cgit v1.2.3