Signed-off-by: Ross Burton <[email protected]>
---
meta/recipes-connectivity/bluez/bluez4.inc | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/meta/recipes-connectivity/bluez/bluez4.inc
b/meta/recipes-connectivity/bluez/bluez4.inc
index d7d3796..3f91166 100644
--- a/meta/recipes-connectivity/bluez/bluez4.inc
+++ b/meta/recipes-connectivity/bluez/bluez4.inc
@@ -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"
--
1.7.10.4
--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core