diff options
author | David Frey <dpfrey@gmail.com> | 2019-05-27 11:56:51 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-05-29 12:54:12 +0100 |
commit | 1d06897aba605c570cbd261fa38d5f0e11c3a850 (patch) | |
tree | fc541febb0effcbe48a3a43c0c12a71092a3f663 /meta/recipes-connectivity/bluez5 | |
parent | b7cbd890ccbd768d633056018d7449997d83e882 (diff) | |
download | poky-1d06897aba605c570cbd261fa38d5f0e11c3a850.tar.gz |
bluez5: manage udev dependency with PACKAGECONFIG
udev is an optional dependency of bluez5, so use PACKAGECONFIG to give
users the ability to build bluez5 without udev support.
(From OE-Core rev: 862438543ef04a3c23f38ec65cd66a3b4e3907d5)
Signed-off-by: David Frey <dpfrey@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-connectivity/bluez5')
-rw-r--r-- | meta/recipes-connectivity/bluez5/bluez5.inc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/recipes-connectivity/bluez5/bluez5.inc b/meta/recipes-connectivity/bluez5/bluez5.inc index aaf2af975d..93d1b4d8b0 100644 --- a/meta/recipes-connectivity/bluez5/bluez5.inc +++ b/meta/recipes-connectivity/bluez5/bluez5.inc | |||
@@ -6,7 +6,7 @@ LICENSE = "GPLv2+ & LGPLv2.1+" | |||
6 | LIC_FILES_CHKSUM = "file://COPYING;md5=12f884d2ae1ff87c09e5b7ccc2c4ca7e \ | 6 | LIC_FILES_CHKSUM = "file://COPYING;md5=12f884d2ae1ff87c09e5b7ccc2c4ca7e \ |
7 | file://COPYING.LIB;md5=fb504b67c50331fc78734fed90fb0e09 \ | 7 | file://COPYING.LIB;md5=fb504b67c50331fc78734fed90fb0e09 \ |
8 | file://src/main.c;beginline=1;endline=24;md5=9bc54b93cd7e17bf03f52513f39f926e" | 8 | file://src/main.c;beginline=1;endline=24;md5=9bc54b93cd7e17bf03f52513f39f926e" |
9 | DEPENDS = "udev dbus-glib glib-2.0" | 9 | DEPENDS = "dbus-glib glib-2.0" |
10 | PROVIDES += "bluez-hcidump" | 10 | PROVIDES += "bluez-hcidump" |
11 | RPROVIDES_${PN} += "bluez-hcidump" | 11 | RPROVIDES_${PN} += "bluez-hcidump" |
12 | 12 | ||
@@ -22,6 +22,7 @@ PACKAGECONFIG ??= "obex-profiles \ | |||
22 | hog-profiles \ | 22 | hog-profiles \ |
23 | tools \ | 23 | tools \ |
24 | deprecated \ | 24 | deprecated \ |
25 | udev \ | ||
25 | " | 26 | " |
26 | PACKAGECONFIG[obex-profiles] = "--enable-obex,--disable-obex,libical" | 27 | PACKAGECONFIG[obex-profiles] = "--enable-obex,--disable-obex,libical" |
27 | PACKAGECONFIG[readline] = "--enable-client,--disable-client,readline," | 28 | PACKAGECONFIG[readline] = "--enable-client,--disable-client,readline," |
@@ -43,6 +44,7 @@ PACKAGECONFIG[threads] = "--enable-threads,--disable-threads" | |||
43 | PACKAGECONFIG[deprecated] = "--enable-deprecated,--disable-deprecated" | 44 | PACKAGECONFIG[deprecated] = "--enable-deprecated,--disable-deprecated" |
44 | PACKAGECONFIG[mesh] = "--enable-mesh,--disable-mesh, json-c ell" | 45 | PACKAGECONFIG[mesh] = "--enable-mesh,--disable-mesh, json-c ell" |
45 | PACKAGECONFIG[btpclient] = "--enable-btpclient,--disable-btpclient, ell" | 46 | PACKAGECONFIG[btpclient] = "--enable-btpclient,--disable-btpclient, ell" |
47 | PACKAGECONFIG[udev] = "--enable-udev,--disable-udev,udev" | ||
46 | 48 | ||
47 | SRC_URI = "\ | 49 | SRC_URI = "\ |
48 | ${KERNELORG_MIRROR}/linux/bluetooth/bluez-${PV}.tar.xz \ | 50 | ${KERNELORG_MIRROR}/linux/bluetooth/bluez-${PV}.tar.xz \ |