[OE-core] [PATCH] devtool: deploy-target: Support stripped libs and execs

Richard Purdie richard.purdie at linuxfoundation.org
Wed Jun 14 09:28:55 UTC 2017


On Wed, 2017-06-14 at 08:24 +0200, Tobias Hagelborn wrote:
> New devtool deploy-target option --strip which enables deploying
> stripped binaries, saving some space on target.
> 
> * Copies the files of ${D} into a new directory and strips them in
> place
> * Based on sysroot_strip from staging.bbclass
> * Added devtool.conf option "strip" for changing default behavior
> * Added .ko strip support compared to original function sysroot_strip

This looks very like the original strip function. Would it be possible
to create one generic strip function in lib/oe which we could call from
the various places rather than duplicating this again?

(I think staging.bbclass and lib/oe/package.py:runstrip() are already
similar code).

Cheers,

Richard



More information about the Openembedded-core mailing list