[yocto] How to set environment variables inside a recipe?

Bodke, Kishore K kishore.k.bodke at intel.com
Thu Jul 19 11:16:45 PDT 2012


Hi,

I am writing a recipe to build a driver specific for  my BSP.

The driver needs a bunch of environmental variables to be set ( specific to driver only ) to build.

Right now to move forward I am doing like below in my recipe to build it.

export  AAA = "${S}"
export BBB = "${B}"
export CCC = "{S}/build-system"
export DDD = "{S}/env-files"

Is this right way to do?  Are there any other ways to set the environment variables inside a recipe?

Any suggestions would be helpful.

Thanks
Kishore.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20120719/0f6506ef/attachment.html>


More information about the yocto mailing list