diff options
-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/" \ |