blob: 780827e42fc75cf7c34bce8a3e2a3a9eef6f3b37 [file] [log] [blame]
################################################################################
#
# tar to archive target filesystem
#
################################################################################
TAR_OPTS := $(call qstrip,$(BR2_TARGET_ROOTFS_TAR_OPTIONS))
define ROOTFS_TAR_CMD
tar -c$(TAR_OPTS)f $@ -C $(TARGET_DIR) .
endef
$(eval $(call ROOTFS_TARGET,tar))