[yocto] How to generate a debug version of a single application and deploy it into the image?

Burton, Ross ross.burton at intel.com
Wed Aug 17 01:50:23 PDT 2016


On 17 August 2016 at 07:49, <S.Jaritz at esa-grimma.de> wrote:

> In my case I have a software which do logging. The amount of the logs
> depends on type of the build (Release skips all debug messages). Let's
> assume that my recipe for the software(myApp) is called myApp.bb. It is
> downloaded from an external git source and build through cmake.
>

Have a PACKAGECONFIG or similar to control whether debug is on or not, and
manipulate it through your local.conf (eg PACKAGECONFIG_append_pn-myrecipe
= " debug").

Ross
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20160817/947788bf/attachment.html>


More information about the yocto mailing list