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 f80959a4f2a8edb16314e10235a92e39ba7f15d6..d69b2e4d55765f5cd50443ecd12773432f5b6e55 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