mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-19 05:38:00 +00:00
fix kernel-headers compile
SVN-Revision: 5781
This commit is contained in:
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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user