mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00:00
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
This commit is contained in:
@@ -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 $$@
|
||||
|
||||
|
||||
Reference in New Issue
Block a user