aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-04-25 22:26:40 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-04-25 22:26:40 +0000
commit74cd5bc109194579d7833dbacb53b07a3abd6c6c (patch)
treee89b76c336c9158df570f01847fe3a2971f3854c
parent8d17e735d0d0d3f1fa72831dc8cfa19851407d96 (diff)
downloadupstream-74cd5bc109194579d7833dbacb53b07a3abd6c6c.tar.gz
upstream-74cd5bc109194579d7833dbacb53b07a3abd6c6c.tar.bz2
upstream-74cd5bc109194579d7833dbacb53b07a3abd6c6c.zip
add workaround for occasional kernel module build failures related to kernel config changes
SVN-Revision: 7050
-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 f80959a4f2..d69b2e4d55 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