aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity
diff options
context:
space:
mode:
authorPeter A. Bigot <pab@pabigot.com>2015-02-16 17:06:17 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-02-17 13:42:21 +0000
commitacb49c962be8c3fd7136d8d03f3be55f713cf9f0 (patch)
treea5338b6dbd1ae71cdc29f68e286678f606e43680 /meta/recipes-connectivity
parent4c2a993735b668c6fbe9889a910dfa07b65cdff3 (diff)
downloadopenembedded-core-contrib-acb49c962be8c3fd7136d8d03f3be55f713cf9f0.tar.gz
openembedded-core-contrib-acb49c962be8c3fd7136d8d03f3be55f713cf9f0.tar.bz2
openembedded-core-contrib-acb49c962be8c3fd7136d8d03f3be55f713cf9f0.zip
ofono: select distro preference for bluez provider
Signed-off-by: Peter A. Bigot <pab@pabigot.com> Signed-off-by: Cristian Iorga <cristian.iorga@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-connectivity')
-rw-r--r--meta/recipes-connectivity/ofono/ofono.inc6
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/recipes-connectivity/ofono/ofono.inc b/meta/recipes-connectivity/ofono/ofono.inc
index bf44fcae08..c415a39981 100644
--- a/meta/recipes-connectivity/ofono/ofono.inc
+++ b/meta/recipes-connectivity/ofono/ofono.inc
@@ -5,7 +5,7 @@ LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=eb723b61539feef013de476e68b5c50a \
file://src/ofono.h;beginline=1;endline=20;md5=3ce17d5978ef3445def265b98899c2ee"
-inherit autotools pkgconfig update-rc.d systemd
+inherit autotools pkgconfig update-rc.d systemd bluetooth
DEPENDS = "dbus glib-2.0 udev mobile-broadband-provider-info"
@@ -14,10 +14,10 @@ INITSCRIPT_PARAMS = "defaults 22"
PACKAGECONFIG ??= "\
${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d)} \
- ${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth','bluetooth', '', d)} \
+ ${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth', 'bluez', '', d)} \
"
PACKAGECONFIG[systemd] = "--with-systemdunitdir=${systemd_unitdir}/system/,--with-systemdunitdir="
-PACKAGECONFIG[bluetooth] = "--enable-bluetooth,--disable-bluetooth,bluez4"
+PACKAGECONFIG[bluez] = "--enable-bluetooth, --disable-bluetooth, ${BLUEZ}"
EXTRA_OECONF += "--enable-test"