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

Richard Purdie richard.purdie at linuxfoundation.org
Tue Jan 28 12:30:28 UTC 2014


On Thu, 2014-01-23 at 09:29 -0200, Otavio Salvador wrote:
> 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"

Consider what native.bbclass does to this though. I suspect Ming is
correct here...

Cheers,

Richard




More information about the Openembedded-core mailing list