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 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core