X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/d43a50cb6071a1d19ba5e5443d2095d4e8176b9b..c5bab4ae7e0c07bf2768a9bf668cfe2ed13b1a79:/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)