summaryrefslogtreecommitdiff
path: root/meta/recipes-connectivity/neard
diff options
context:
space:
mode:
authorPeter A. Bigot <pab@pabigot.com>2015-02-16 17:06:15 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-02-17 13:42:20 +0000
commit33b3164c2627d20315ff716e7d78ced86871c472 (patch)
treeea27cf5b1ffbeedc3f2e8055bc2e156412e5b2f8 /meta/recipes-connectivity/neard
parent2da39b9c6ee7019a88b962ec30980221f2b966c1 (diff)
downloadopenembedded-core-33b3164c2627d20315ff716e7d78ced86871c472.tar.gz
openembedded-core-33b3164c2627d20315ff716e7d78ced86871c472.tar.bz2
openembedded-core-33b3164c2627d20315ff716e7d78ced86871c472.zip
neard: select distro preference for bluez provider
Signed-off-by: Peter A. Bigot <pab@pabigot.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-connectivity/neard')
-rw-r--r--meta/recipes-connectivity/neard/neard.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-connectivity/neard/neard.inc b/meta/recipes-connectivity/neard/neard.inc
index 31bc6ddb66..6b6b1da8c1 100644
--- a/meta/recipes-connectivity/neard/neard.inc
+++ b/meta/recipes-connectivity/neard/neard.inc
@@ -9,7 +9,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=12f884d2ae1ff87c09e5b7ccc2c4ca7e \
file://src/near.h;beginline=1;endline=20;md5=358e4deefef251a4761e1ffacc965d13 \
"
-inherit autotools pkgconfig systemd update-rc.d
+inherit autotools pkgconfig systemd update-rc.d bluetooth
PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d)}"
@@ -45,7 +45,7 @@ RDEPENDS_${PN} = "dbus python python-dbus python-pygobject"
# Bluez & Wifi are not mandatory except for handover
RRECOMMENDS_${PN} = "\
- ${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth', 'bluez4', '', d)} \
+ ${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth', '${BLUEZ}', '', d)} \
${@bb.utils.contains('DISTRO_FEATURES', 'wifi','wpa-supplicant', '', d)} \
"