[yocto] Disable stripping of binaries in do_package phase, is it possible?

Burton, Ross ross.burton at intel.com
Wed Apr 17 08:56:05 PDT 2013


On 17 April 2013 16:31, Hans Beckérus <hans.beckerus at gmail.com> wrote:
> I have a package for which some parts of it consist of pre-built
> binaries, already stripped. When building I get lots of warning about
> strip failing because the file(s) are already stripped.
> Is there some simple way to turn off stripping during this phase?
> I tried to disable do_package using the [noexec] attribute but that is
> the wrong approach surely since it causes the rootfs build to fail
> since the .rpm is not compiled properly ;)

Use INHIBIT_PACKAGE_DEBUG_SPLIT = "1" to turn off the generation of
-dbg packages, as this is where the splitting and stripping happens.
As your binaries are already stripped, -dbg packages are pointless.

Ross



More information about the yocto mailing list