Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: Tobias Hagelborn <tobias.hagelborn@axis.com>,
	openembedded-core@lists.openembedded.org
Cc: Tobias Hagelborn <tobiasha@axis.com>
Subject: Re: [PATCH] devtool: deploy-target: Support stripped libs and execs
Date: Wed, 14 Jun 2017 10:28:55 +0100	[thread overview]
Message-ID: <1497432535.3942.40.camel@linuxfoundation.org> (raw)
In-Reply-To: <1497421480-21923-1-git-send-email-tobiasha@axis.com>

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


  reply	other threads:[~2017-06-14  9:28 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-14  6:24 [PATCH] devtool: deploy-target: Support stripped libs and execs Tobias Hagelborn
2017-06-14  9:28 ` Richard Purdie [this message]
2017-06-14 11:35   ` Tobias Hagelborn
2017-06-16  5:12     ` Tobias Hagelborn
2017-06-14 17:33 ` Leonardo Sandoval

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1497432535.3942.40.camel@linuxfoundation.org \
    --to=richard.purdie@linuxfoundation.org \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=tobias.hagelborn@axis.com \
    --cc=tobiasha@axis.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox