Hi Sam,
On 11/4/2013 8:36 AM, Nelson, Sam wrote:

Currently , my recipe inherits autotools.

I would like update recipe to pass an environment variable define like the following when executing ./configure command.

VAR_NAME=<dir_name>


You could use EXTRA_OECONF to pass extra variables to configure. Something like

VAR_NAME = "${S}/foo/bar"
EXTRA_OECONF += "${VAR_NAME}"

 

Appreciate help on how this can be achieved in the recipe.

With regards,

Sam



_______________________________________________
meta-arago mailing list
meta-arago@arago-project.org
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago