summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2014-12-21 12:52:27 +0100
committerMichael Olbrich <m.olbrich@pengutronix.de>2014-12-21 12:52:27 +0100
commitab1660ecc3fc0a54b56576864486d2418800a7f2 (patch)
tree23a312dc50753690a2cff775dafc973bc1c5f2a7
parent12c4b746d5d2cf2aa67947775bd6817554936087 (diff)
downloadOSELAS.Toolchain-ab1660ecc3fc0a54b56576864486d2418800a7f2.tar.gz
cleanup: don't fail if PTXCONF_SYSROOT_CROSS was created with sudo
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rw-r--r--rules/post/cleanup.make2
1 files changed, 1 insertions, 1 deletions
diff --git a/rules/post/cleanup.make b/rules/post/cleanup.make
index 95d3b63..7bc89a0 100644
--- a/rules/post/cleanup.make
+++ b/rules/post/cleanup.make
@@ -1,7 +1,7 @@
$(STATEDIR)/world.cleanup: $(STATEDIR)/world.targetinstall
@$(call targetinfo)
- @find "$(PTXCONF_SYSROOT_CROSS)" -depth -type d -print0 | \
+ @find "$(PTXCONF_SYSROOT_CROSS)/"* -depth -type d -print0 | \
xargs -r -0 -- rmdir -v --ignore-fail-on-non-empty --
find \
"$(PTXCONF_SYSROOT_CROSS)/libexec/" \