[OE-core] [PATCH] lttng-modules: allow building without tracepoints enabled in kernel

Paul Eggleton paul.eggleton at linux.intel.com
Mon Jul 1 14:55:35 UTC 2013


On Monday 01 July 2013 15:44:10 Burton, Ross wrote:
> On 1 July 2013 15:21, Paul Eggleton <paul.eggleton at linux.intel.com> wrote:
> > +       find ${D}/lib -depth -type d -empty -exec rmdir {} \;
> 
> A slightly cleaner form of this:
> 
> $ find ${D}/lib -type d -empty -delete

Right, I did check the find manpage but it only mentioned that -delete deletes 
files. Testing here I see that it does work though. I'll wait for further 
reviews before sending a v2.

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre



More information about the Openembedded-core mailing list