[yocto] external variable

2013-10-18 Thread jan alexandru vaduva
Hello everyone, Is there any way of defining a variable into a recipe and use it in another. I tried: export VAR=value but when I tested it`s existence in devshell it did not exist(echo $VAR). Defining this variable in local.conf is not a viable solution. Thank you, Alex

Re: [yocto] external variable

2013-10-18 Thread Paul Eggleton
Hi Alex, On Friday 18 October 2013 15:19:57 jan alexandru vaduva wrote: Is there any way of defining a variable into a recipe and use it in another. I tried: export VAR=value but when I tested it`s existence in devshell it did not exist(echo $VAR). No, this is not possible. The only way you

Re: [yocto] external variable

2013-10-18 Thread jan alexandru vaduva
I am currently trying to copy using sed the variable into local.conf. But: grep -q ^AAA= ${BUILDDIR}/conf/local.conf \ sed s/^AAA=.*/AAA=${D}/ -i ${BUILDDIR}/conf/local.conf || \ sed $ a\AAA=${D} -i ${BUILDDIR}/conf/local.conf Is giving me some errors, like: ParseError: