include/image.mk: Use PROFILE_SANITIZED in targz image task

Signed-off-by: Petr Štetiar <ynezz@true.cz>

SVN-Revision: 47311
This commit is contained in:
Felix Fietkau 2015-10-31 09:28:14 +00:00
parent 74d9ef96f1
commit 2927e32deb

View file

@ -255,7 +255,7 @@ define Image/mkfs/cpiogz
endef endef
define Image/mkfs/targz 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 endef
E2SIZE=$(shell echo $$(($(CONFIG_TARGET_ROOTFS_PARTSIZE)*1024*1024))) E2SIZE=$(shell echo $$(($(CONFIG_TARGET_ROOTFS_PARTSIZE)*1024*1024)))