From: Florian Fainelli Date: Sun, 14 Mar 2010 16:21:18 +0000 (+0000) Subject: fix kernel-headers build for uml X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=0193462642bd005e3ab2e36ea45cae2977bc711a;p=openwrt%2Fstaging%2Fneocturne.git fix kernel-headers build for uml SVN-Revision: 20203 --- 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)