[OE-core] [PATCH 5/5] bluetooth.bbclass: set bluez5 as the default BT stack

Tanu Kaskinen tanu.kaskinen at linux.intel.com
Tue Apr 7 12:46:06 UTC 2015


On Tue, 2015-04-07 at 14:44 +0200, Martin Jansa wrote:
> On Tue, Apr 07, 2015 at 03:36:31PM +0300, Tanu Kaskinen wrote:
> > This would be more appropriate for recipes that only support bluez4:
> > 
> > #  inherit bluetooth
> > #  PACKAGECONFIG ??= "${@bb.utils.contains('BLUEZ', 'bluez4', 'bluez4, '', d}"
> > #  PACKAGECONFIG[bluez4] = "--enable-bluez4,--disable-bluez4,bluez4"
> 
> The last example isn't correct, because you still need to respect
> 'bluetooth' in 'DISTRO_FEATURES' before enabling whatever is in BLUEZ
> variable.

BLUEZ is empty if 'bluetooth' is not in DISTRO_FEATURES, so my example
should work fine.

-- 
Tanu




More information about the Openembedded-core mailing list