aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2012-05-30 18:04:15 +0000
committerJohn Crispin <john@openwrt.org>2012-05-30 18:04:15 +0000
commit76e4cd2a2489d258660d20d567b57ff4bbd198be (patch)
treed6d03a250968a633c905067531e5d8d98c3502db /target
parent47ef62d1b82ea79dd807287264d22ec8e1826530 (diff)
downloadupstream-76e4cd2a2489d258660d20d567b57ff4bbd198be.tar.gz
upstream-76e4cd2a2489d258660d20d567b57ff4bbd198be.tar.bz2
upstream-76e4cd2a2489d258660d20d567b57ff4bbd198be.zip
add $(SUBTARGET) to the filename if available
SVN-Revision: 32007
Diffstat (limited to 'target')
-rw-r--r--target/imagebuilder/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/imagebuilder/Makefile b/target/imagebuilder/Makefile
index 686a175065..788e2c2496 100644
--- a/target/imagebuilder/Makefile
+++ b/target/imagebuilder/Makefile
@@ -15,7 +15,7 @@ override MAKEFLAGS=
PKG_OS:=$(shell uname -s)
PKG_CPU:=$(shell uname -m | sed "s/ //g")
-IB_NAME:=OpenWrt-ImageBuilder-$(BOARD)-for-$(PKG_OS)-$(PKG_CPU)
+IB_NAME:=OpenWrt-ImageBuilder-$(BOARD)$(if $(SUBTARGET),_$(SUBTARGET))-for-$(PKG_OS)-$(PKG_CPU)
PKG_BUILD_DIR:=$(BUILD_DIR)/$(IB_NAME)
IB_KDIR:=$(patsubst $(TOPDIR)/%,$(PKG_BUILD_DIR)/%,$(KERNEL_BUILD_DIR))
IB_LDIR:=$(patsubst $(TOPDIR)/%,$(PKG_BUILD_DIR)/%,$(LINUX_DIR))