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
commitf169bffb5fc41af9ee8b7804bf1a504ff59ee779 (patch)
tree46119cec6dbdf977594de60223094fad41f89c27 /include/kernel-build.mk
parentbb2b462a1c8bbfc117b115f3637d4c226a02f48c (diff)
downloadupstream-f169bffb5fc41af9ee8b7804bf1a504ff59ee779.tar.gz
upstream-f169bffb5fc41af9ee8b7804bf1a504ff59ee779.tar.bz2
upstream-f169bffb5fc41af9ee8b7804bf1a504ff59ee779.zip
trigger a kernel module rebuild when the kernel config changes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6671 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 $$@