Re: How to set environment variables inside a recipe?

Paul Eggleton

On Thursday 19 July 2012 18:16:45 Bodke, Kishore K wrote:
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?
This is valid; I would recommend setting them within the function though (e.g.
do_configure) rather than at the recipe level, assuming that works for your



Paul Eggleton
Intel Open Source Technology Centre

Join to automatically receive all group messages.