X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/cae6d4f9edd86b03a3e6a763fe9afbb2a1aaefb7..81d3bb5d22cc2c87d495e9c303d88e4cda25f641:/toolchain/kernel-headers/Makefile?ds=inline diff --git a/toolchain/kernel-headers/Makefile b/toolchain/kernel-headers/Makefile index f95c8b95a..27dcacd80 100644 --- a/toolchain/kernel-headers/Makefile +++ b/toolchain/kernel-headers/Makefile @@ -32,15 +32,13 @@ define Build/Configure/powerpc endef ifneq (,$(findstring uml,$(BOARD))) - KMAKE := $(MAKE) -C $(PKG_BUILD_DIR) \ - ARCH=i386 \ - CONFIG_SHELL=$(BASH) -else - KMAKE := $(MAKE) -C $(PKG_BUILD_DIR) \ - ARCH=$(LINUX_KARCH) \ - CONFIG_SHELL=$(BASH) + LINUX_KARCH:=$(ARCH) endif +KMAKE := $(MAKE) -C $(PKG_BUILD_DIR) \ + ARCH=$(LINUX_KARCH) \ + CONFIG_SHELL=$(BASH) + define Build/Configure yes '' | $(KMAKE) oldconfig $(KMAKE) include/linux/version.h include/asm