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
|
|
|
|
2013-07-20 08:52:43 +02:00
|
|
|
TAR_OPTS := $(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
|
2013-01-20 15:03:13 +01:00
|
|
|
tar -c$(TAR_OPTS)f $@ -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))
|