[yocto] Having Yocto Sandbox information on target in any form

Paul Eggleton paul.eggleton at linux.intel.com
Thu Jun 18 04:21:59 PDT 2015


Hi Gaurang,

On Thursday 18 June 2015 01:40:14 Gaurang Shastri wrote:
> I am trying to figure out in existing Yocto/OE , is there any way on
> target, i will get my build path information:
> 
> Ex,.
> # cat /etc/yocto_version (on target):
> ==
> Yocto_SDK=1.8
> Yocto_Build_Path=/home/gaurang/yocto-1.8/build
> Image_name=core-image-sato
> ==
> 
> 
> I don't know if anything like above exist for Yocto/OE ? This will very
> helpful sometime to cross debug the things.

In 1.8 we introduced an image-buildinfo class - you can inherit this and set 
IMAGE_BUILDINFO_VARS to the list of variables you want to write to the file.

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre



More information about the yocto mailing list