From: John Crispin Date: Wed, 30 May 2012 18:04:15 +0000 (+0000) Subject: add $(SUBTARGET) to the filename if available X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=76e4cd2a2489d258660d20d567b57ff4bbd198be;p=openwrt%2Fstaging%2Frmilecki.git add $(SUBTARGET) to the filename if available SVN-Revision: 32007 --- diff --git a/target/imagebuilder/Makefile b/target/imagebuilder/Makefile index 686a1750656..788e2c24963 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))