X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/cac4b005fb5931caef5ccae975c97b3f5319df56..9a24ac5b8c947665253a616bfc273e0ccb141e41:/include/kernel.mk?ds=sidebyside diff --git a/include/kernel.mk b/include/kernel.mk index 460269949..52355dcdd 100644 --- a/include/kernel.mk +++ b/include/kernel.mk @@ -31,6 +31,7 @@ else endif PATCH_DIR ?= ./patches$(shell [ -d "./patches-$(KERNEL_PATCHVER)" ] && printf -- "-$(KERNEL_PATCHVER)" || true ) + FILES_DIR ?= ./files$(shell [ -d "./files-$(KERNEL_PATCHVER)" ] && printf -- "-$(KERNEL_PATCHVER)" || true ) KERNEL_BUILD_DIR ?= $(BUILD_DIR_BASE)/linux-$(BOARD)$(if $(SUBTARGET),_$(SUBTARGET))$(if $(BUILD_SUFFIX),_$(BUILD_SUFFIX)) LINUX_DIR ?= $(KERNEL_BUILD_DIR)/linux-$(LINUX_VERSION) @@ -89,7 +90,7 @@ define ModuleAutoLoad fi endef -ifeq ($(DUMP),) +ifeq ($(DUMP)$(TARGET_BUILD),) -include $(LINUX_DIR)/.config endif