[yocto] Striping cross-compiled paths

Matthew Stanger matthew_stanger at trimble.com
Mon Sep 12 12:29:32 PDT 2016


Thanks, I just found this post was addressed already ->
https://lists.yoctoproject.org/pipermail/poky/2015-August/010197.html

On Mon, Sep 12, 2016 at 1:16 PM, Burton, Ross <ross.burton at intel.com> wrote:

>
> On 12 September 2016 at 19:22, Matthew Stanger <
> matthew_stanger at 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/bu
>> ild-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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20160912/233d33da/attachment.html>


More information about the yocto mailing list