diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2018-05-31 11:06:13 +0200 |
---|---|---|
committer | Uwe Kleine-König <uwe@kleine-koenig.org> | 2018-06-03 21:58:20 +0200 |
commit | 50941aa7a78ee2eb6917fedab234f2d2fe03dbf1 (patch) | |
tree | d3bbf7da79e75bb0b13731ea91a532f72d3f2435 /rules/cross-gcc.make | |
parent | 7bb4d1634d35d690aa88b7127cb07289a01c8d31 (diff) | |
download | OSELAS.Toolchain-ukl/wip.tar.gz OSELAS.Toolchain-ukl/wip.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.make | 2 |
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 |