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:41:01 +0100 |
commit | 12d5c09107fb3bc76101379b4e1d9f56d589c76e (patch) | |
tree | 65d95a68095c64b70e243fa066436e99c905e3d9 /meta | |
parent | b4cf6631efd526728ac515ced1a7e578674ca6c1 (diff) | |
download | openembedded-core-12d5c09107fb3bc76101379b4e1d9f56d589c76e.tar.gz openembedded-core-12d5c09107fb3bc76101379b4e1d9f56d589c76e.tar.bz2 openembedded-core-12d5c09107fb3bc76101379b4e1d9f56d589c76e.zip |
bluez4: add proper systemd support
Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-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" 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 \ 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 += "\ ${libdir}/*/.debug \ */udev/.debug \ " + +SYSTEMD_SERVICE_${PN} = "bluetooth.service" |