summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-04-25 22:26:40 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-04-25 22:26:40 +0000
commitd6ce92de58071d353f27a06e512fe6964519af4a (patch)
tree4708c57ad59634dd74525fde2fff34c4b3736ac1 /include
parentc350a013d43d9bca2c8166d7b56a86ac989425dd (diff)
add workaround for occasional kernel module build failures related to kernel config changes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7050 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'include')
-rw-r--r--include/kernel-defaults.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/kernel-defaults.mk b/include/kernel-defaults.mk
index f80959a4f..d69b2e4d5 100644
--- a/include/kernel-defaults.mk
+++ b/include/kernel-defaults.mk
@@ -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