mirror of
https://git.yoctoproject.org/poky
synced 2026-04-03 02:02:21 +02:00
default-providers: Set the preferred provider for bluez based on version
bitbake will currently 'selecting bluez4 to satisfy runtime libasound-module-bluez due to PREFERRED_PROVIDER_bluez4 = bluez4' which in the case of bluez5 isn't correct. This slightly unusual construct avoids this. Ultimately this is a bitbake issue that needs fixing in a better way but this means we can merge the bluez5 changes until bitbake gets fixed. (From OE-Core rev: ef41f4b91d65f87850edd6cc56ca37d2ecb56378) Signed-off-by: Cristian Iorga <cristian.iorga@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -43,7 +43,7 @@ PREFERRED_PROVIDER_make ?= "make"
|
||||
PREFERRED_PROVIDER_udev ?= "${@bb.utils.contains('DISTRO_FEATURES','systemd','systemd','udev',d)}"
|
||||
# There are issues with runtime packages and PREFERRED_PROVIDER, see YOCTO #5044 for details
|
||||
# on this rather strange entry.
|
||||
PREFERRED_PROVIDER_bluez4 ?= "bluez4"
|
||||
PREFERRED_PROVIDER_bluez4 ?= "${@bb.utils.contains('DISTRO_FEATURES','bluetooth bluez5','bluez5','bluez4',d)}"
|
||||
PREFERRED_PROVIDER_bluez-hcidump ?= "${@bb.utils.contains('DISTRO_FEATURES','bluetooth bluez5','bluez5','bluez-hcidump',d)}"
|
||||
# Alternative is ltp-ddt in meta-oe: meta-oe/recipes-devtools/ltp-ddt/ltp-ddt_0.0.4.bb
|
||||
PREFERRED_PROVIDER_ltp ?= "ltp"
|
||||
|
||||
Reference in New Issue
Block a user