2013-06-06 23:54:13 +02:00
|
|
|
################################################################################
|
2005-02-09 17:06:06 +01:00
|
|
|
#
|
|
|
|
# tar to archive target filesystem
|
|
|
|
#
|
2013-06-06 23:54:13 +02:00
|
|
|
################################################################################
|
2005-02-09 17:06:06 +01:00
|
|
|
|
2014-05-22 14:35:41 +02:00
|
|
|
TAR_OPTS := $(call qstrip,$(BR2_TARGET_ROOTFS_TAR_OPTIONS))
|
2006-04-07 22:30:43 +02:00
|
|
|
|
2010-03-10 00:14:16 +01:00
|
|
|
define ROOTFS_TAR_CMD
|
2015-02-16 18:49:16 +01:00
|
|
|
tar -c$(TAR_OPTS)f $@ --numeric-owner -C $(TARGET_DIR) .
|
2010-03-10 00:14:16 +01:00
|
|
|
endef
|
2006-11-29 20:16:48 +01:00
|
|
|
|
2010-03-10 00:14:16 +01:00
|
|
|
$(eval $(call ROOTFS_TARGET,tar))
|