summaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity
diff options
context:
space:
mode:
authorCristian Iorga <cristian.iorga@intel.com>2015-04-28 12:03:16 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-05-03 11:43:51 +0100
commit11981a5c591c22fe4e08fa9c6ac855a371da2f1f (patch)
tree21deb64bbd353f50b6acb2c9c4b541f8eeb246a2 /meta/recipes-connectivity
parenta7afc0468f1f6df35c485acc11f6b20a94057ef5 (diff)
downloadpoky-11981a5c591c22fe4e08fa9c6ac855a371da2f1f.tar.gz
bluez4: add proper systemd support
(From OE-Core rev: 12d5c09107fb3bc76101379b4e1d9f56d589c76e) 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/bluez/bluez4.inc4
-rw-r--r--meta/recipes-connectivity/bluez/bluez4_4.101.bb2
2 files changed, 5 insertions, 1 deletions
diff --git a/meta/recipes-connectivity/bluez/bluez4.inc b/meta/recipes-connectivity/bluez/bluez4.inc
index 11c961617a..9429d0a4d4 100644
--- a/meta/recipes-connectivity/bluez/bluez4.inc
+++ b/meta/recipes-connectivity/bluez/bluez4.inc
@@ -13,9 +13,11 @@ RDEPENDS_${PN}-dev = "bluez-hcidump"
13PACKAGECONFIG ??= "\ 13PACKAGECONFIG ??= "\
14 ${@bb.utils.contains('DISTRO_FEATURES', 'alsa', 'alsa', '', d)}\ 14 ${@bb.utils.contains('DISTRO_FEATURES', 'alsa', 'alsa', '', d)}\
15 ${@bb.utils.contains('DISTRO_FEATURES', 'pie', 'pie', '', d)}\ 15 ${@bb.utils.contains('DISTRO_FEATURES', 'pie', 'pie', '', d)}\
16 ${@bb.utils.contains('DISTRO_FEATURES', 'systemd','systemd', '', d)} \
16" 17"
17PACKAGECONFIG[alsa] = "--enable-alsa,--disable-alsa,alsa-lib" 18PACKAGECONFIG[alsa] = "--enable-alsa,--disable-alsa,alsa-lib"
18PACKAGECONFIG[pie] = "--enable-pie,--disable-pie," 19PACKAGECONFIG[pie] = "--enable-pie,--disable-pie,"
20PACKAGECONFIG[systemd] = "--with-systemdunitdir=${systemd_unitdir}/system/,--with-systemdunitdir="
19 21
20ASNEEDED = "" 22ASNEEDED = ""
21 23
@@ -24,7 +26,7 @@ SRC_URI = "\
24" 26"
25S = "${WORKDIR}/bluez-${PV}" 27S = "${WORKDIR}/bluez-${PV}"
26 28
27inherit autotools-brokensep pkgconfig 29inherit autotools-brokensep pkgconfig systemd
28 30
29EXTRA_OECONF = "\ 31EXTRA_OECONF = "\
30 --disable-gstreamer \ 32 --disable-gstreamer \
diff --git a/meta/recipes-connectivity/bluez/bluez4_4.101.bb b/meta/recipes-connectivity/bluez/bluez4_4.101.bb
index f900c7c7b0..102392357e 100644
--- a/meta/recipes-connectivity/bluez/bluez4_4.101.bb
+++ b/meta/recipes-connectivity/bluez/bluez4_4.101.bb
@@ -45,3 +45,5 @@ FILES_${PN}-dbg += "\
45 ${libdir}/*/.debug \ 45 ${libdir}/*/.debug \
46 */udev/.debug \ 46 */udev/.debug \
47 " 47 "
48
49SYSTEMD_SERVICE_${PN} = "bluetooth.service"