[toolchain] fix kernel-headers build for uml
[openwrt.git] / toolchain / kernel-headers / Makefile
index 63687cb..47e7b24 100644 (file)
@@ -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)
This page took 0.025712 seconds and 4 git commands to generate.