From: Felix Fietkau Date: Thu, 14 Dec 2006 04:57:55 +0000 (+0000) Subject: fix kernel-headers compile X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=317aa7af59cab4d24f4c5338f618c1fc0f4dddd6;p=openwrt%2Fstaging%2Fnbd.git fix kernel-headers compile SVN-Revision: 5781 --- 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