trigger a kernel module rebuild when the kernel config changes

SVN-Revision: 6671
This commit is contained in:
Felix Fietkau
2007-03-24 17:05:26 +00:00
parent cfb33b88bc
commit 35317253e6
3 changed files with 5 additions and 4 deletions

View File

@@ -49,6 +49,9 @@ define Kernel/Configure/Default
$(SCRIPT_DIR)/config.pl '+' $(GENERIC_PLATFORM_DIR)/config-template $(LINUX_CONFIG) > $(LINUX_DIR)/.config; \
fi
$(call Kernel/Configure/$(KERNEL))
rm -rf $(KERNEL_BUILD_DIR)/modules
@rm -f $(BUILD_DIR)/linux
ln -sf $(KERNEL_BUILD_DIR)/linux-$(LINUX_VERSION) $(BUILD_DIR)/linux
endef
define Kernel/CompileModules/Default