X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/cf6ea8d9ce19c1e7f6cbb5e1a71c2f93bb3799c1..143496aa4d31c79178027f9838e8cb3a659969f5:/toolchain/kernel-headers/Makefile diff --git a/toolchain/kernel-headers/Makefile b/toolchain/kernel-headers/Makefile index d823f196c..27dcacd80 100644 --- a/toolchain/kernel-headers/Makefile +++ b/toolchain/kernel-headers/Makefile @@ -31,9 +31,13 @@ define Build/Configure/powerpc 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) \ - ARCH=$(LINUX_KARCH) \ - CONFIG_SHELL=$(BASH) + ARCH=$(LINUX_KARCH) \ + CONFIG_SHELL=$(BASH) define Build/Configure yes '' | $(KMAKE) oldconfig