fix kernel-headers compile

SVN-Revision: 5781
lede-17.01
Felix Fietkau 2006-12-14 04:57:55 +00:00
parent aefaa3896b
commit 317aa7af59
1 changed files with 6 additions and 4 deletions

View File

@ -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