X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fopenwrt.git;a=blobdiff_plain;f=include%2Fkernel.mk;h=2721c83d8eddb9750988c7c9c6daf0fff025980a;hp=8ce4df8f2d50ac66baa330b715e8045306df6344;hb=5fe923b15d94e27fa6db863a6d994bfb4355e4cb;hpb=9ae952cf8cf2f0d7df95434c8b16d13bc1b47fca diff --git a/include/kernel.mk b/include/kernel.mk index 8ce4df8f2d..2721c83d8e 100644 --- a/include/kernel.mk +++ b/include/kernel.mk @@ -30,8 +30,8 @@ else endif ifeq ($(TARGET_BUILD),1) - PATCH_DIR ?= ./patches$(if $(wildcard ./patches-$(KERNEL_PATCHVER)),-$(KERNEL_PATCHVER)) - FILES_DIR ?= $(foreach dir,$(wildcard ./files ./files-$(KERNEL_PATCHVER)),"$(dir)") + PATCH_DIR ?= $(CURDIR)/patches$(if $(wildcard ./patches-$(KERNEL_PATCHVER)),-$(KERNEL_PATCHVER)) + FILES_DIR ?= $(foreach dir,$(wildcard $(CURDIR)/files $(CURDIR)/files-$(KERNEL_PATCHVER)),"$(dir)") endif KERNEL_BUILD_DIR ?= $(BUILD_DIR)/linux-$(BOARD)$(if $(SUBTARGET),_$(SUBTARGET)) LINUX_DIR ?= $(KERNEL_BUILD_DIR)/linux-$(LINUX_VERSION)