On 12 September 2016 at 19:22, Matthew Stanger <matthew_stan...@trimble.com>
wrote:

> I'm using Yocto 1.7.1 I'd like built programs to have the build path
> striped down. The goal is if I'm looking at some programs log after cross
> compiling I want this:
>
> src/program.c:388
>
> where I currently get this:
>
> /usr/local/jenkins/workspace/project-build-manual/Project/
> build-project/tmp/work/arm926ejste-poky-linux-gnuebi/
> program/2.5.992+gitAUTOINC+1c6d246619-r0/git/src/program.c:388
>
> Is it possible to configure Yocto to do this for me? If so where can I
> find info on how I would do this?
>

If those paths come from __FILE__ and so on, then currently no.  It would
be great if GCC could do this, but currently it can not.

Ross
-- 
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to