aboutsummaryrefslogtreecommitdiffstats
path: root/include/kernel-build.mk
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-03-24 17:05:26 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-03-24 17:05:26 +0000
commit35317253e61385934becad42c99739ed3349a3b8 (patch)
tree200c26f51de5656678b08698976ef11298ed97f0 /include/kernel-build.mk
parentcfb33b88bc95e1d1d6a78555e24bfc3f0146411b (diff)
downloadupstream-35317253e61385934becad42c99739ed3349a3b8.tar.gz
upstream-35317253e61385934becad42c99739ed3349a3b8.tar.bz2
upstream-35317253e61385934becad42c99739ed3349a3b8.zip
trigger a kernel module rebuild when the kernel config changes
SVN-Revision: 6671
Diffstat (limited to 'include/kernel-build.mk')
-rw-r--r--include/kernel-build.mk5
1 files changed, 1 insertions, 4 deletions
diff --git a/include/kernel-build.mk b/include/kernel-build.mk
index a89d9d9f25..d344702dda 100644
--- a/include/kernel-build.mk
+++ b/include/kernel-build.mk
@@ -92,10 +92,7 @@ define BuildKernel
$(call Kernel/Configure)
touch $$@
- $(LINUX_DIR)/.modules: $(LINUX_DIR)/.configured
- rm -rf $(KERNEL_BUILD_DIR)/modules
- @rm -f $(BUILD_DIR)/linux
- ln -sf $(KERNEL_BUILD_DIR)/linux-$(LINUX_VERSION) $(BUILD_DIR)/linux
+ $(LINUX_DIR)/.modules: $(LINUX_DIR)/.configured $(LINUX_DIR)/.config
$(call Kernel/CompileModules)
touch $$@