aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarc Ferland <ferlandm@amotus.ca>2017-04-25 10:48:37 -0400
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-05-16 14:08:16 +0100
commit3eb9a546c0eae4a5ea8526445ba0bf1e7ed5517e (patch)
tree1e977d83148832199e6d9833db9d266a9f3e33e8
parent057f642b45c740c68c0b10b48eb57c3eac321085 (diff)
downloadopenembedded-core-contrib-3eb9a546c0eae4a5ea8526445ba0bf1e7ed5517e.tar.gz
openembedded-core-contrib-3eb9a546c0eae4a5ea8526445ba0bf1e7ed5517e.tar.bz2
openembedded-core-contrib-3eb9a546c0eae4a5ea8526445ba0bf1e7ed5517e.zip
bluez5: add PACKAGECONFIG option for systemd
Signed-off-by: Marc Ferland <ferlandm@amotus.ca> Signed-off-by: Ross Burton <ross.burton@intel.com>
-rw-r--r--meta/recipes-connectivity/bluez5/bluez5.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-connectivity/bluez5/bluez5.inc b/meta/recipes-connectivity/bluez5/bluez5.inc
index 687656ed783..71a50161bd9 100644
--- a/meta/recipes-connectivity/bluez5/bluez5.inc
+++ b/meta/recipes-connectivity/bluez5/bluez5.inc
@@ -12,11 +12,12 @@ RPROVIDES_${PN} += "bluez-hcidump"
RCONFLICTS_${PN} = "bluez4"
-PACKAGECONFIG ??= "obex-profiles readline"
+PACKAGECONFIG ??= "obex-profiles readline ${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}"
PACKAGECONFIG[obex-profiles] = "--enable-obex,--disable-obex,libical"
PACKAGECONFIG[readline] = "--enable-client,--disable-client,readline,"
PACKAGECONFIG[testing] = "--enable-testing,--disable-testing"
PACKAGECONFIG[midi] = "--enable-midi,--disable-midi,alsa-lib"
+PACKAGECONFIG[systemd] = "--enable-systemd,--disable-systemd"
SRC_URI = "\
${KERNELORG_MIRROR}/linux/bluetooth/bluez-${PV}.tar.xz \
@@ -36,7 +37,6 @@ EXTRA_OECONF = "\
--disable-cups \
--enable-test \
--enable-datafiles \
- ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '--enable-systemd', '--disable-systemd', d)} \
--enable-library \
"