From: Thomas De Schampheleire Date: Thu, 22 May 2014 12:35:41 +0000 (+0200) Subject: fs/tar: use qstrip to clean up build output X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e5512dfc493817cdcb57ef2fe0c856c31fc5f847;p=buildroot.git 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
/output/images/rootfs.tar -C
/output/target ." >>
/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 Acked-by: Romain Naour Signed-off-by: Peter Korsgaard --- 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) .