summaryrefslogtreecommitdiffstats
path: root/fs/tar
diff options
context:
space:
mode:
authorThomas De Schampheleire <patrickdepinguin@gmail.com>2014-05-22 14:35:41 +0200
committerPeter Korsgaard <peter@korsgaard.com>2014-05-28 21:19:58 +0200
commite5512dfc493817cdcb57ef2fe0c856c31fc5f847 (patch)
treec38e98531b38b77c1216972194fef9b97808b8f6 /fs/tar
parent4d5bf929a62b41519f5470d7ea20567e0061277f (diff)
downloadbuildroot-e5512dfc493817cdcb57ef2fe0c856c31fc5f847.tar.gz
buildroot-e5512dfc493817cdcb57ef2fe0c856c31fc5f847.zip
fs/tar: use qstrip to clean up build output
When using the tar filesystem method, the build output shows at the end: echo " tar -c""f <br>/output/images/rootfs.tar -C <br>/output/target ." >> <br>/output/build/_fakeroot.fs The inner set of quotes can be easily removed by properly stripping the tar options (coming from the buildroot configuration). Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Acked-by: Romain Naour <romain.naour@openwide.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'fs/tar')
-rw-r--r--fs/tar/tar.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/tar/tar.mk b/fs/tar/tar.mk
index c93888cd56..f876d03f56 100644
--- a/fs/tar/tar.mk
+++ b/fs/tar/tar.mk
@@ -4,7 +4,7 @@
#
################################################################################
-TAR_OPTS := $(BR2_TARGET_ROOTFS_TAR_OPTIONS)
+TAR_OPTS := $(call qstrip,$(BR2_TARGET_ROOTFS_TAR_OPTIONS))
define ROOTFS_TAR_CMD
tar -c$(TAR_OPTS)f $@ -C $(TARGET_DIR) .
OpenPOWER on IntegriCloud