Browse Source

fix kernel-headers build for uml

SVN-Revision: 20203
Florian Fainelli 15 năm trước cách đây
mục cha
commit
0193462642
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      toolchain/kernel-headers/Makefile

+ 1 - 1
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)