bluez4: optionally install systemd unit files
PATCH 1/1 bluez4: optionally install systemd unit files
Signed-off-by Ross Burton <[email protected]>
--- meta/recipes-connectivity/bluez/bluez4.inc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-)
meta/recipes-connectivity/bluez/bluez4.inc +5 -1
@@ -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/,--without-systemdunitdir,systemd" ASNEEDED = ""
@@ -24,7 +26,7 @@ SRC_URI = "\ " S = "${WORKDIR}/bluez-${PV}" -inherit autotools pkgconfig +inherit autotools pkgconfig systemd EXTRA_OECONF = "\ --disable-gstreamer \
@@ -43,4 +45,6 @@ EXTRA_OECONF = "\ --with-udevrulesdir=`pkg-config --variable=udevdir udev`/rules.d \ " +SYSTEMD_SERVICE_${PN} = "bluetooth.service" + EXCLUDE_FROM_WORLD = "1"
Signature · 1 line
1.7.10.4