[Buildroot] [PATCH] auto remove empty /usr/share dir

Peter Korsgaard jacmet at uclibc.org
Wed Nov 24 21:16:14 UTC 2010


>>>>> "Mike" == Mike Frysinger <vapier at gentoo.org> writes:

 Mike> Often times, the only reason /usr/share exists is because of
 Mike> documentation installed into it.  So once we're done cleaning the
 Mike> docs, attempt to rmdir /usr/share.  If it's empty, things will
 Mike> work out nicely.

Committed, thanks. I prefer to tell make to simply ignore the return
value rather than the '|| :' shell code though.

-- 
Bye, Peter Korsgaard


More information about the buildroot mailing list