add workaround for occasional kernel module build failures related to kernel config...
authorFelix Fietkau <nbd@openwrt.org>
Wed, 25 Apr 2007 22:26:40 +0000 (22:26 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Wed, 25 Apr 2007 22:26:40 +0000 (22:26 +0000)
SVN-Revision: 7050

include/kernel-defaults.mk

index f80959a..d69b2e4 100644 (file)
@@ -55,6 +55,7 @@ define Kernel/Configure/Default
 endef
 
 define Kernel/CompileModules/Default
+       rm -f $(LINUX_DIR)/vmlinux $(LINUX_DIR)/System.map
        $(MAKE) -j$(CONFIG_JLEVEL) $(KERNEL_MAKEOPTS) CC="$(KERNEL_CC)" modules
 endef