remove reference to unused .kernel.mk
[openwrt.git] / include / kernel-defaults.mk
index 61b5bdb..3469cff 100644 (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
This page took 0.021837 seconds and 4 git commands to generate.