mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-22 06:57:57 +00:00
add $(SUBTARGET) to the filename if available
SVN-Revision: 32007
This commit is contained in:
parent
47ef62d1b8
commit
76e4cd2a24
@ -15,7 +15,7 @@ override MAKEFLAGS=
|
|||||||
PKG_OS:=$(shell uname -s)
|
PKG_OS:=$(shell uname -s)
|
||||||
PKG_CPU:=$(shell uname -m | sed "s/ //g")
|
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)
|
PKG_BUILD_DIR:=$(BUILD_DIR)/$(IB_NAME)
|
||||||
IB_KDIR:=$(patsubst $(TOPDIR)/%,$(PKG_BUILD_DIR)/%,$(KERNEL_BUILD_DIR))
|
IB_KDIR:=$(patsubst $(TOPDIR)/%,$(PKG_BUILD_DIR)/%,$(KERNEL_BUILD_DIR))
|
||||||
IB_LDIR:=$(patsubst $(TOPDIR)/%,$(PKG_BUILD_DIR)/%,$(LINUX_DIR))
|
IB_LDIR:=$(patsubst $(TOPDIR)/%,$(PKG_BUILD_DIR)/%,$(LINUX_DIR))
|
||||||
|
Loading…
Reference in New Issue
Block a user