On 17 August 2016 at 07:49, <s.jar...@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
-- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto