[OE-core] [PATCH V2] quilt: add ac_cv_path_BASH to CACHED_CONFIGUREVARS also for native

Otavio Salvador otavio at ossystems.com.br
Thu Jan 23 11:29:44 UTC 2014


On Thu, Jan 23, 2014 at 5:22 AM, Ming Liu <ming.liu at windriver.com> wrote:
> On 01/23/2014 03:14 PM, Phil Blundell wrote:
>>
>> On Thu, 2014-01-23 at 14:45 +0800, Ming Liu wrote:
>>>
>>>   +CACHED_CONFIGUREVARS += "ac_cv_path_BASH=/bin/bash"
>>>   -CACHED_CONFIGUREVARS += "ac_cv_path_BASH=${base_bindir}/bash"
>>
>> Why did you change this from ${base_bindir} to a hardcoded path?
>
> Because base_bindir would be expanded as '${base_prefix}/bin' for native
> recipe, then it has to set DEPENDS on bash-native which I think is not what
> it supposed to be, the change would let it locate bash from host
> environment.

I don't think so.

% git grep base_prefix meta/conf/bitbake.conf
meta/conf/bitbake.conf:export base_prefix = ""
meta/conf/bitbake.conf:export base_bindir = "${base_prefix}/bin"
...

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750



More information about the Openembedded-core mailing list