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