ofono: fixup build-time dependencies string
[AGL/meta-agl.git] / meta-agl / recipes-connectivity / ofono / ofono_%.bbappend
1 # Prevent BlueZ 4 from being always pulled
2 DEPENDS_remove = "bluez4"
3
4 # If Bluetooth is asked in DISTRO_FEATURES, verify if Bluez 5 is also
5 # explicitly specified. If it is not, fall back to BlueZ 4
6 DEPENDS_append = " ${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth', bb.utils.contains('DISTRO_FEATURES', 'bluez5', 'bluez5', 'bluez4', d), '', d)}"