aboutsummaryrefslogtreecommitdiffstats
path: root/toolchain/kernel-headers/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'toolchain/kernel-headers/Makefile')
-rw-r--r--toolchain/kernel-headers/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/toolchain/kernel-headers/Makefile b/toolchain/kernel-headers/Makefile
index d2d9c3dd32..d823f196c2 100644
--- a/toolchain/kernel-headers/Makefile
+++ b/toolchain/kernel-headers/Makefile
@@ -31,11 +31,13 @@ define Build/Configure/powerpc
mv $(PKG_BUILD_DIR)/include/asm-powerpc $(PKG_BUILD_DIR)/include/asm-ppc
endef
-define Build/Configure
- yes '' | $(MAKE) -C $(PKG_BUILD_DIR) \
+KMAKE := $(MAKE) -C $(PKG_BUILD_DIR) \
ARCH=$(LINUX_KARCH) \
- CONFIG_SHELL=$(BASH) \
- oldconfig include/linux/version.h include/asm
+ CONFIG_SHELL=$(BASH)
+
+define Build/Configure
+ yes '' | $(KMAKE) oldconfig
+ $(KMAKE) include/linux/version.h include/asm
$(call Build/Configure/$(ARCH))
endef