Re: [yocto] Need Support- Variable exporting

2018-12-05 Thread Dimitris Tassopoulos
AFAIK, you can't have dynamic variables in the local.conf that you
can control from bitbake.
If you want to dynamically pass a variable to bitbake, you need to
use the `-e` option and pass an environment file with you dynamic
variables in there. Or use a custom script that calls bitbake and with
some `sed` magic replace dummy variables in your local.conf.

Regards,
Dimitris

On Mon, Nov 19, 2018 at 1:21 PM bhuvana easwari 
wrote:

> Hi,
>
> I need support on the below issue.
>
> 1) Actually we are trying to build two machine from one meta-layer based
> on some choice.
> 2) Both devices having different configuration files.
> 3) Now we have to export a variable from machine configuration conf file
> to layer.conf
> 4) Based on the exported variable value,we are choosing device specific
> conf file.
>
> Can you please give some input on this
>
> Regards,
> Bhuvaneswari K
> --
> ___
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] Need Support- Variable exporting

2018-11-19 Thread bhuvana easwari
Hi,

I need support on the below issue.

1) Actually we are trying to build two machine from one meta-layer based on
some choice.
2) Both devices having different configuration files.
3) Now we have to export a variable from machine configuration conf file to
layer.conf
4) Based on the exported variable value,we are choosing device specific
conf file.

Can you please give some input on this

Regards,
Bhuvaneswari K
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto