aboutsummaryrefslogtreecommitdiffstats
path: root/target/imagebuilder
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2012-05-30 18:04:15 +0000
committerJohn Crispin <blogic@openwrt.org>2012-05-30 18:04:15 +0000
commit73804551c62dc52fb6f691c3ace62b4ecd602671 (patch)
tree8354cc7105734547e70ae55a8c7ad21a177afd71 /target/imagebuilder
parentc7942cd68f721b43f5d28447ac6b47697d7fc409 (diff)
downloadupstream-73804551c62dc52fb6f691c3ace62b4ecd602671.tar.gz
upstream-73804551c62dc52fb6f691c3ace62b4ecd602671.tar.bz2
upstream-73804551c62dc52fb6f691c3ace62b4ecd602671.zip
[imagebuilder] add $(SUBTARGET) to the filename if available
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32007 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/imagebuilder')
-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))