fix kernel-headers compile

SVN-Revision: 5781
master
Felix Fietkau 18 years ago
parent aefaa3896b
commit 317aa7af59
  1. 10
      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

Loading…
Cancel
Save