From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from bear.ext.ti.com (bear.ext.ti.com [192.94.94.41]) by arago-project.org (Postfix) with ESMTPS id C468D52972 for ; Mon, 4 Nov 2013 05:47:20 +0000 (UTC) Received: from dflxv15.itg.ti.com ([128.247.5.124]) by bear.ext.ti.com (8.13.7/8.13.7) with ESMTP id rA45lJEo012600 for ; Sun, 3 Nov 2013 23:47:19 -0600 Received: from DLEE70.ent.ti.com (dlemailx.itg.ti.com [157.170.170.113]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id rA45lJdC008560 for ; Sun, 3 Nov 2013 23:47:19 -0600 Received: from dlep32.itg.ti.com (157.170.170.100) by DLEE70.ent.ti.com (157.170.170.113) with Microsoft SMTP Server id 14.2.342.3; Sun, 3 Nov 2013 23:47:19 -0600 Received: from [172.24.81.193] (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep32.itg.ti.com (8.14.3/8.13.8) with ESMTP id rA45lG5M026929; Sun, 3 Nov 2013 23:47:17 -0600 Message-ID: <527734E4.3020204@ti.com> Date: Mon, 4 Nov 2013 11:17:16 +0530 From: Siddharth Heroor User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.0 MIME-Version: 1.0 To: "Nelson, Sam" , "meta-arago@arago-project.org" References: <4F9216F96E5DF9428610502835A9F49054985DA9@DLEE11.ent.ti.com> In-Reply-To: <4F9216F96E5DF9428610502835A9F49054985DA9@DLEE11.ent.ti.com> Cc: "Ring, Chris" Subject: Re: help needed: Need pass variable to autotools .configure X-BeenThere: meta-arago@arago-project.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Arago metadata layer for TI SDKs - OE-Core/Yocto compatible List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Nov 2013 05:47:21 -0000 Content-Type: multipart/alternative; boundary="------------070107020402020002010708" --------------070107020402020002010708 Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit 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= > 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 --------------070107020402020002010708 Content-Type: text/html; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit
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

--------------070107020402020002010708--