[yocto] debug version of a package

Jussi Kukkonen jussi.kukkonen at intel.com
Mon Aug 22 01:56:13 PDT 2016


On 21 August 2016 at 16:55, Andy Ng <andreas2025 at gmail.com> wrote:

> Hi,
>
> How do I trigger the build of the debug version of a single package?
>

Binaries are (almost) always built with debug symbols, there's nothing that
needs to be done there. The unstripped debug binaries are typically
packaged into "<recipename>-dbg" package, while stripped versions of those
binaries go into other packages. To get debug binaries onto an image, you
can either add the specific -dbg packages with IMAGE_INSTALL_append or add
all debug packages with image features:
    EXTRA_IMAGE_FEATURES += "tools-debug dbg-pkgs"

Jussi



> Thank you
> Andy
> --
> _______________________________________________
> yocto mailing list
> yocto at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20160822/e250607c/attachment.html>


More information about the yocto mailing list