fix pesky kmod-* ipkg install bug
[openwrt.git] / toolchain / kernel-headers / Makefile
index 21f56ea..027d6a8 100644 (file)
@@ -26,11 +26,10 @@ define Build/Prepare
 endef
 
 define Build/Configure
 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) \
                ARCH=$(LINUX_KARCH) \
-               CONFIG_SHELL=$(shell which bash) \
-               defconfig include/linux/version.h
+               CONFIG_SHELL=$(BASH) \
+               oldconfig include/linux/version.h
 endef
 
 define Build/Compile
 endef
 
 define Build/Compile
This page took 0.024381 seconds and 4 git commands to generate.