fix kernel-headers prepare (#949)
authorFelix Fietkau <nbd@openwrt.org>
Sun, 12 Nov 2006 12:47:11 +0000 (12:47 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sun, 12 Nov 2006 12:47:11 +0000 (12:47 +0000)
SVN-Revision: 5515

toolchain/kernel-headers/Makefile

index 05ee49b..027d6a8 100644 (file)
@@ -26,11 +26,10 @@ define Build/Prepare
 endef
 
 define Build/Configure
-       -$(CP) ./files/config.$(LINUX_KARCH) $(PKG_BUILD_DIR)/.config
-       $(MAKE) -C $(PKG_BUILD_DIR) \
+       yes '' | $(MAKE) -C $(PKG_BUILD_DIR) \
                ARCH=$(LINUX_KARCH) \
                CONFIG_SHELL=$(BASH) \
-               defconfig include/linux/version.h
+               oldconfig include/linux/version.h
 endef
 
 define Build/Compile