X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/ec0548de300a4a2a54bc1d0c5007e28cdf32b880..81d3bb5d22cc2c87d495e9c303d88e4cda25f641:/toolchain/kernel-headers/Makefile diff --git a/toolchain/kernel-headers/Makefile b/toolchain/kernel-headers/Makefile index 3731673e5..27dcacd80 100644 --- a/toolchain/kernel-headers/Makefile +++ b/toolchain/kernel-headers/Makefile @@ -32,14 +32,13 @@ define Build/Configure/powerpc endef ifneq (,$(findstring uml,$(BOARD))) - KMAKE := $(MAKE) -C $(PKG_BUILD_DIR) \ - 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