28219cf05277e59f2678c312bad70701b8306d67
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / fs / tar / tar.mk
1 ################################################################################
2 #
3 # tar to archive target filesystem
4 #
5 ################################################################################
6
7 TAR_OPTS := $(call qstrip,$(BR2_TARGET_ROOTFS_TAR_OPTIONS))
8
9 define ROOTFS_TAR_CMD
10         tar -c$(TAR_OPTS)f $@ --numeric-owner -C $(TARGET_DIR) .
11 endef
12
13 $(eval $(call ROOTFS_TARGET,tar))