X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/d43a50cb6071a1d19ba5e5443d2095d4e8176b9b..6726f607d6876d2e71583685f1242a6a0899c498:/include/kernel-defaults.mk diff --git a/include/kernel-defaults.mk b/include/kernel-defaults.mk index 61b5bdb2f..3469cff20 100644 --- a/include/kernel-defaults.mk +++ b/include/kernel-defaults.mk @@ -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