595bf30654
Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 lines
368 B
Makefile
14 lines
368 B
Makefile
################################################################################
|
|
#
|
|
# 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))
|