diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2014-12-21 12:52:27 +0100 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2014-12-21 12:52:27 +0100 |
commit | ab1660ecc3fc0a54b56576864486d2418800a7f2 (patch) | |
tree | 23a312dc50753690a2cff775dafc973bc1c5f2a7 /rules/post/cleanup.make | |
parent | 12c4b746d5d2cf2aa67947775bd6817554936087 (diff) | |
download | OSELAS.Toolchain-ab1660ecc3fc0a54b56576864486d2418800a7f2.tar.gz OSELAS.Toolchain-ab1660ecc3fc0a54b56576864486d2418800a7f2.tar.xz |
cleanup: don't fail if PTXCONF_SYSROOT_CROSS was created with sudo
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/post/cleanup.make')
-rw-r--r-- | rules/post/cleanup.make | 2 |
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/" \ |