summaryrefslogtreecommitdiffstats
path: root/include/image.mk
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
commitbed330204a9f42a6796cb381cf4d67cc5cd7891e (patch)
tree263866c707db92a7fd59b30c440974032091d4b6 /include/image.mk
parent5b25a12e8fa741e4a63b081be1111a3194b86bf4 (diff)
downloadmaster-31e0f0ae-bed330204a9f42a6796cb381cf4d67cc5cd7891e.tar.gz
master-31e0f0ae-bed330204a9f42a6796cb381cf4d67cc5cd7891e.tar.bz2
master-31e0f0ae-bed330204a9f42a6796cb381cf4d67cc5cd7891e.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> SVN-Revision: 46592
Diffstat (limited to 'include/image.mk')
-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))