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>
This commit is contained in:
Cristian Iorga
2015-04-28 12:03:16 +03:00
committed by Richard Purdie
parent a7afc0468f
commit 11981a5c59
2 changed files with 5 additions and 1 deletions

View File

@@ -13,9 +13,11 @@ RDEPENDS_${PN}-dev = "bluez-hcidump"
PACKAGECONFIG ??= "\
${@bb.utils.contains('DISTRO_FEATURES', 'alsa', 'alsa', '', d)}\
${@bb.utils.contains('DISTRO_FEATURES', 'pie', 'pie', '', d)}\
${@bb.utils.contains('DISTRO_FEATURES', 'systemd','systemd', '', d)} \
"
PACKAGECONFIG[alsa] = "--enable-alsa,--disable-alsa,alsa-lib"
PACKAGECONFIG[pie] = "--enable-pie,--disable-pie,"
PACKAGECONFIG[systemd] = "--with-systemdunitdir=${systemd_unitdir}/system/,--with-systemdunitdir="
ASNEEDED = ""
@@ -24,7 +26,7 @@ SRC_URI = "\
"
S = "${WORKDIR}/bluez-${PV}"
inherit autotools-brokensep pkgconfig
inherit autotools-brokensep pkgconfig systemd
EXTRA_OECONF = "\
--disable-gstreamer \

View File

@@ -45,3 +45,5 @@ FILES_${PN}-dbg += "\
${libdir}/*/.debug \
*/udev/.debug \
"
SYSTEMD_SERVICE_${PN} = "bluetooth.service"