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 05ee49be35e059342319703bfa5cc88b88a6b873..027d6a852f8f2821aab3f583e0f1e7e94150c39b 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