aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJonas Gorski <jogo@openwrt.org>2015-08-14 10:20:53 +0000
committerJonas Gorski <jogo@openwrt.org>2015-08-14 10:20:53 +0000
commite965da36fedaaa823349abba05152f78faed17e7 (patch)
tree1a89073f17d472e6391abd3c9888eed1f4516937 /include
parent70648f53951e014bb852ac014e6baea05e6f3001 (diff)
downloadmaster-187ad058-e965da36fedaaa823349abba05152f78faed17e7.tar.gz
master-187ad058-e965da36fedaaa823349abba05152f78faed17e7.tar.bz2
master-187ad058-e965da36fedaaa823349abba05152f78faed17e7.zip
image.mk: move KDIR_TMP definition to a central location
Instead of each target defining it the same, move the KDIR_TMP definition to include/image.mk. In addition Image/Build/SysupgradeNAND already requires KDIR_TMP to be set, so it makes sense to have it globally defined. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46592 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'include')
-rw-r--r--include/image.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/image.mk b/include/image.mk
index 9dfce111a6..979db5f554 100644
--- a/include/image.mk
+++ b/include/image.mk
@@ -15,6 +15,7 @@ override MAKE:=$(_SINGLE)$(SUBMAKE)
override NO_TRACE_MAKE:=$(_SINGLE)$(NO_TRACE_MAKE)
KDIR=$(KERNEL_BUILD_DIR)
+KDIR_TMP=$(KDIR)/tmp
DTS_DIR:=$(LINUX_DIR)/arch/$(ARCH)/boot/dts/
IMG_PREFIX:=openwrt-$(if $(CONFIG_VERSION_FILENAMES),$(VERSION_NUMBER)-)$(BOARD)$(if $(SUBTARGET),-$(SUBTARGET))