diff options
author | Cristian Iorga <cristian.iorga@intel.com> | 2015-04-28 12:03:16 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-05-03 11:43:51 +0100 |
commit | 11981a5c591c22fe4e08fa9c6ac855a371da2f1f (patch) | |
tree | 21deb64bbd353f50b6acb2c9c4b541f8eeb246a2 /meta/recipes-connectivity | |
parent | a7afc0468f1f6df35c485acc11f6b20a94057ef5 (diff) | |
download | poky-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.inc | 4 | ||||
-rw-r--r-- | meta/recipes-connectivity/bluez/bluez4_4.101.bb | 2 |
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" | |||
13 | PACKAGECONFIG ??= "\ | 13 | PACKAGECONFIG ??= "\ |
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 | " |
17 | PACKAGECONFIG[alsa] = "--enable-alsa,--disable-alsa,alsa-lib" | 18 | PACKAGECONFIG[alsa] = "--enable-alsa,--disable-alsa,alsa-lib" |
18 | PACKAGECONFIG[pie] = "--enable-pie,--disable-pie," | 19 | PACKAGECONFIG[pie] = "--enable-pie,--disable-pie," |
20 | PACKAGECONFIG[systemd] = "--with-systemdunitdir=${systemd_unitdir}/system/,--with-systemdunitdir=" | ||
19 | 21 | ||
20 | ASNEEDED = "" | 22 | ASNEEDED = "" |
21 | 23 | ||
@@ -24,7 +26,7 @@ SRC_URI = "\ | |||
24 | " | 26 | " |
25 | S = "${WORKDIR}/bluez-${PV}" | 27 | S = "${WORKDIR}/bluez-${PV}" |
26 | 28 | ||
27 | inherit autotools-brokensep pkgconfig | 29 | inherit autotools-brokensep pkgconfig systemd |
28 | 30 | ||
29 | EXTRA_OECONF = "\ | 31 | EXTRA_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 | |||
49 | SYSTEMD_SERVICE_${PN} = "bluetooth.service" | ||