From 317aa7af59cab4d24f4c5338f618c1fc0f4dddd6 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Thu, 14 Dec 2006 04:57:55 +0000 Subject: fix kernel-headers compile SVN-Revision: 5781 --- toolchain/kernel-headers/Makefile | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'toolchain') 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 -- cgit v1.2.3