From: Felix Fietkau Date: Sat, 31 Oct 2015 09:28:14 +0000 (+0000) Subject: include/image.mk: Use PROFILE_SANITIZED in targz image task X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=2927e32debc915a380376cd2da03ac82b36f0353;p=openwrt%2Fstaging%2Frobimarko.git include/image.mk: Use PROFILE_SANITIZED in targz image task Signed-off-by: Petr Štetiar SVN-Revision: 47311 --- diff --git a/include/image.mk b/include/image.mk index 3f6556874a..43980bc394 100644 --- a/include/image.mk +++ b/include/image.mk @@ -255,7 +255,7 @@ define Image/mkfs/cpiogz endef define Image/mkfs/targz - $(TAR) -czpf $(BIN_DIR)/$(IMG_PREFIX)$(if $(PROFILE),-$(PROFILE))-rootfs.tar.gz --numeric-owner --owner=0 --group=0 --sort=name -C $(TARGET_DIR)/ . + $(TAR) -czpf $(BIN_DIR)/$(IMG_PREFIX)$(if $(PROFILE_SANITIZED),-$(PROFILE_SANITIZED))-rootfs.tar.gz --numeric-owner --owner=0 --group=0 --sort=name -C $(TARGET_DIR)/ . endef E2SIZE=$(shell echo $$(($(CONFIG_TARGET_ROOTFS_PARTSIZE)*1024*1024)))