Fresh fixes for rdc from sn9, thanks !
[openwrt.git] / toolchain / kernel-headers / Makefile
index d823f19..27dcacd 100644 (file)
@@ -31,9 +31,13 @@ define Build/Configure/powerpc
        mv $(PKG_BUILD_DIR)/include/asm-powerpc $(PKG_BUILD_DIR)/include/asm-ppc
 endef
 
        mv $(PKG_BUILD_DIR)/include/asm-powerpc $(PKG_BUILD_DIR)/include/asm-ppc
 endef
 
+ifneq (,$(findstring uml,$(BOARD)))
+  LINUX_KARCH:=$(ARCH)
+endif
+
 KMAKE := $(MAKE) -C $(PKG_BUILD_DIR) \
 KMAKE := $(MAKE) -C $(PKG_BUILD_DIR) \
-               ARCH=$(LINUX_KARCH) \
-               CONFIG_SHELL=$(BASH)
+       ARCH=$(LINUX_KARCH) \
+       CONFIG_SHELL=$(BASH)
 
 define Build/Configure
        yes '' | $(KMAKE) oldconfig
 
 define Build/Configure
        yes '' | $(KMAKE) oldconfig
This page took 0.020193 seconds and 4 git commands to generate.