1
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-09-30 08:01:25 +02:00

fix kernel-headers compile

SVN-Revision: 5781
This commit is contained in:
Felix Fietkau 2006-12-14 04:57:55 +00:00
parent aefaa3896b
commit 317aa7af59

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