summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorLuka Perkov <luka@openwrt.org>2013-10-12 21:44:46 +0000
committerLuka Perkov <luka@openwrt.org>2013-10-12 21:44:46 +0000
commit05625233edb53fb9bcf053b35bcb3e6d4e2233b5 (patch)
tree5ec04fcbd7ce530996a1a9aa2be27d280ee54ffb /include
parent408af1f6c7f4e2f0bf38739569a37362664812aa (diff)
downloadmtk-20170518-05625233edb53fb9bcf053b35bcb3e6d4e2233b5.zip
mtk-20170518-05625233edb53fb9bcf053b35bcb3e6d4e2233b5.tar.gz
mtk-20170518-05625233edb53fb9bcf053b35bcb3e6d4e2233b5.tar.bz2
image: if possible use profile name when building .tar.gz images
Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 38374
Diffstat (limited to 'include')
-rw-r--r--include/image.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/image.mk b/include/image.mk
index e0731f0..f5f1c8f 100644
--- a/include/image.mk
+++ b/include/image.mk
@@ -141,7 +141,7 @@ endif
ifneq ($(CONFIG_TARGET_ROOTFS_TARGZ),)
define Image/mkfs/targz
# Preserve permissions (-p) when building as non-root user
- $(TAR) -czpf $(BIN_DIR)/$(IMG_PREFIX)-rootfs.tar.gz --numeric-owner --owner=0 --group=0 -C $(TARGET_DIR)/ .
+ $(TAR) -czpf $(BIN_DIR)/$(IMG_PREFIX)$(if $(PROFILE),-$(PROFILE))-rootfs.tar.gz --numeric-owner --owner=0 --group=0 -C $(TARGET_DIR)/ .
endef
endif