summaryrefslogtreecommitdiff
path: root/include
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 /include
parent8d17e735d0d0d3f1fa72831dc8cfa19851407d96 (diff)
downloadmtk-20170518-74cd5bc109194579d7833dbacb53b07a3abd6c6c.zip
mtk-20170518-74cd5bc109194579d7833dbacb53b07a3abd6c6c.tar.gz
mtk-20170518-74cd5bc109194579d7833dbacb53b07a3abd6c6c.tar.bz2
add workaround for occasional kernel module build failures related to kernel config changes
SVN-Revision: 7050
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 f80959a..d69b2e4 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