]> code.ossystems Code Review - openembedded-core.git/commit
devtool: deploy-target: Support stripped libs and execs
authorTobias Hagelborn <tobias.hagelborn@axis.com>
Fri, 25 Aug 2017 11:32:38 +0000 (13:32 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 27 Aug 2017 21:30:00 +0000 (22:30 +0100)
commit7f10c5118793da6ded59ae6e60e796152dbd7ca3
treeb98dac455190cf511d6afb77f79db268b1f803f3
parent83739174be5b3fabd7df559a35ac6407d82a6280
devtool: deploy-target: Support stripped libs and execs

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
* Used oe.package.strip_execs for stripping directory
* Added devtool.conf option "strip" for changing default behavior

Config example:
[Deploy]
strip = true

[YOCTO #11227]

Signed-off-by: Tobias Hagelborn <tobiasha@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/lib/devtool/deploy.py