summaryrefslogtreecommitdiffstats
path: root/meta-agl/recipes-connectivity
diff options
context:
space:
mode:
authorManuel Bachmann <mbc@iot.bzh>2015-10-21 01:34:54 +0000
committerManuel Bachmann <mbc@iot.bzh>2015-10-21 02:54:11 +0000
commit882f5b7bfd8ee7393364dc31c29862a09056b1f6 (patch)
tree79ca3cc9dda18945e511941a8f800506a0ca698e /meta-agl/recipes-connectivity
parent4c01095f8de7ce06157c27dfda648ef10ff60cfc (diff)
Provide oFono 1.15 with BlueZ 5 support
oFono provides a mobile telephony (GSM/UMTS) mobile telephony stack. When compiled with Bluetooth support, it also compiles the HFP (Hands Free Profile) plugin, which is actively required by AGL 1.0 specification (AGL:5.1.1.1). The "hfp_bluez5" and "hfp_ag_bluez5" plugins are compiled as we now ship BlueZ 5. Change-Id: I815d3aeceb02abff624d0223cf0fef46c509014f Signed-off-by: Manuel Bachmann <mbc@iot.bzh>
Diffstat (limited to 'meta-agl/recipes-connectivity')
-rw-r--r--meta-agl/recipes-connectivity/ofono/ofono_%.bbappend6
1 files changed, 6 insertions, 0 deletions
diff --git a/meta-agl/recipes-connectivity/ofono/ofono_%.bbappend b/meta-agl/recipes-connectivity/ofono/ofono_%.bbappend
new file mode 100644
index 000000000..6bf323626
--- /dev/null
+++ b/meta-agl/recipes-connectivity/ofono/ofono_%.bbappend
@@ -0,0 +1,6 @@
+# Prevent BlueZ 4 from being always pulled
+DEPENDS_remove = "bluez4"
+
+# If Bluetooth is asked in DISTRO_FEATURES, verify if Bluez 5 is also
+# explicitly specified. If it is not, fall back to BlueZ 4
+DEPENDS_append = "${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth', bb.utils.contains('DISTRO_FEATURES', 'bluez5', 'bluez5', 'bluez4', d), '', d)}"