aboutsummaryrefslogtreecommitdiffstats
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
commitc9977dec29b66405ac246a481fe90a4daedde0a4 (patch)
tree4708c57ad59634dd74525fde2fff34c4b3736ac1 /include
parent303d6d3c337e7058f649757b614b5e46f7f25314 (diff)
downloadupstream-c9977dec29b66405ac246a481fe90a4daedde0a4.tar.gz
upstream-c9977dec29b66405ac246a481fe90a4daedde0a4.tar.bz2
upstream-c9977dec29b66405ac246a481fe90a4daedde0a4.zip
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 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