summaryrefslogtreecommitdiffstats
path: root/fs/tar/tar.mk
blob: 1d327fa868ad047c1506d1433b45ceec96a53dfe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#############################################################
#
# tar to archive target filesystem
#
#############################################################

TAR_OPTS:=$(BR2_TARGET_ROOTFS_TAR_OPTIONS)

define ROOTFS_TAR_CMD
 tar -c$(TAR_OPTS)f $@ -C $(TARGET_DIR) .
endef

$(eval $(call ROOTFS_TARGET,tar))