X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/d43a50cb6071a1d19ba5e5443d2095d4e8176b9b..814b429c34611fb919be9b7801574277d59f6395:/include/kernel-build.mk diff --git a/include/kernel-build.mk b/include/kernel-build.mk index a89d9d9f2..9037b5ced 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 FORCE $(call Kernel/CompileModules) touch $$@ @@ -162,7 +159,7 @@ endef $(eval $(call shexport,Target/Description)) download: $(DL_DIR)/$(LINUX_SOURCE) -prepare: $(LINUX_DIR)/.configured $(TMP_DIR)/.kernel.mk +prepare: $(LINUX_DIR)/.configured compile: $(LINUX_DIR)/.modules menuconfig: $(LINUX_DIR)/.prepared FORCE $(call Kernel/Configure)