mirror of
https://git.yoctoproject.org/poky
synced 2026-05-29 15:52:40 +02:00
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:
committed by
Richard Purdie
parent
a7afc0468f
commit
11981a5c59
@@ -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 \
|
||||
|
||||
@@ -45,3 +45,5 @@ FILES_${PN}-dbg += "\
|
||||
${libdir}/*/.debug \
|
||||
*/udev/.debug \
|
||||
"
|
||||
|
||||
SYSTEMD_SERVICE_${PN} = "bluetooth.service"
|
||||
|
||||
Reference in New Issue
Block a user