summaryrefslogtreecommitdiffstats
path: root/rules/cross-gcc.make
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2018-05-31 11:06:13 +0200
committerUwe Kleine-König <uwe@kleine-koenig.org>2018-06-03 21:58:20 +0200
commit50941aa7a78ee2eb6917fedab234f2d2fe03dbf1 (patch)
treed3bbf7da79e75bb0b13731ea91a532f72d3f2435 /rules/cross-gcc.make
parent7bb4d1634d35d690aa88b7127cb07289a01c8d31 (diff)
downloadOSELAS.Toolchain-50941aa7a78ee2eb6917fedab234f2d2fe03dbf1.tar.gz
OSELAS.Toolchain-50941aa7a78ee2eb6917fedab234f2d2fe03dbf1.tar.xz
use find -delete instead of find | xargs rmukl/wip
Also add -r to all instances of xargs to prevent execution when no matches are found.
Diffstat (limited to 'rules/cross-gcc.make')
-rw-r--r--rules/cross-gcc.make2
1 files changed, 1 insertions, 1 deletions
diff --git a/rules/cross-gcc.make b/rules/cross-gcc.make
index 49577a8..4ddc508 100644
--- a/rules/cross-gcc.make
+++ b/rules/cross-gcc.make
@@ -192,7 +192,7 @@ $(STATEDIR)/cross-gcc.install: $(STATEDIR)/cross-gcc.report
fi || exit 1; \
done
- @find $(PTXCONF_SYSROOT_CROSS) -name "*.la" -print0 | xargs -0 rm -v -f
+ @find $(PTXCONF_SYSROOT_CROSS) -name "*.la" -printf 'removing %p' -delete
ifneq ($(call remove_quotes,$(PTXCONF_DESTDIR)),)
sed -i -e 's;$(call remove_quotes,$(PTXCONF_DESTDIR));;' \
$(PTXCONF_SYSROOT_CROSS)/lib/gcc/$(PTXCONF_GNU_TARGET)/$(CROSS_GCC_VERSION)/install-tools/mkheaders.conf