From f169bffb5fc41af9ee8b7804bf1a504ff59ee779 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sat, 24 Mar 2007 17:05:26 +0000 Subject: 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 --- include/kernel-build.mk | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'include/kernel-build.mk') 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 $$@ -- cgit v1.2.3