[OE-core] [PATCH] boost: Convert ??= weaker assingment to weak ?= assignment

Richard Purdie richard.purdie at linuxfoundation.org
Mon Dec 9 11:48:42 UTC 2013


On Fri, 2013-12-06 at 17:42 -0800, Khem Raj wrote:
> ??= does not react at all with
> BOOST_LIBS += "${@base_contains('PACKAGECONFIG', 'python', 'python', '', d)}"
> 
> even though we have
> 
> PACKAGECONFIG ??= "" it does not honor it and always add python to
> BOOST_LIBS but the dependency is not added so it fails to build
> complaining for missing python headers which is a understood outcome
> 
> When converted to ?= it works as expected and only add --with-python
> in bjam when python is specified in PACKAGECONFIG otherwise not.
> 
> Is it a bitbake bug ? in anycase ?= should be enough of loose rope
> to let user/distro configure the packageconfig policy
> 
> Signed-off-by: Khem Raj <raj.khem at gmail.com>
> ---
>  meta/recipes-support/boost/boost.inc |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

This needs more investigation as there is something missing from the
description above.

To illustrate why I'm struggling to follow this, "bitbake boost -e |
grep BOOST_LIBS" on OE-Core does not show python in the list...

Cheers,

Richard





More information about the Openembedded-core mailing list