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
This commit is contained in:
@@ -12,10 +12,6 @@ include $(INCLUDE_DIR)/image.mk
|
||||
|
||||
LOADADDR:=0x00008000
|
||||
|
||||
|
||||
KDIR_TMP:=$(KDIR)/tmp
|
||||
|
||||
|
||||
define Image/Build/DTB
|
||||
cp $(KDIR)/zImage$(2) $(KDIR)/zImage$(2)-$(1);
|
||||
cat $(DTS_DIR)/$(1).dtb >> $(KDIR)/zImage$(2)-$(1);
|
||||
|
||||
Reference in New Issue
Block a user