include/image.mk: Use PROFILE_SANITIZED in targz image task
authorFelix Fietkau <nbd@openwrt.org>
Sat, 31 Oct 2015 09:28:14 +0000 (09:28 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sat, 31 Oct 2015 09:28:14 +0000 (09:28 +0000)
Signed-off-by: Petr Štetiar <ynezz@true.cz>
SVN-Revision: 47311

include/image.mk

index 3f6556874a5f56dfd6010db2d07964535209e9bc..43980bc3940c7c8b9e465087df245c05c0296de8 100644 (file)
@@ -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)))