summaryrefslogtreecommitdiffstats
path: root/rules/bluez.in
diff options
context:
space:
mode:
authorBernhard Walle <bernhard@bwalle.de>2013-03-01 14:14:07 +0100
committerMichael Olbrich <m.olbrich@pengutronix.de>2013-03-04 14:35:53 +0100
commit9d21b248c0ba75175868bbcdfbc981c5fcba634d (patch)
tree5440dfbedf0a2c1b91306e11938f6ad136585571 /rules/bluez.in
parent5be5298993fe7ff7659c9b6ebe21b2580d744af2 (diff)
downloadptxdist-9d21b248c0ba75175868bbcdfbc981c5fcba634d.tar.gz
ptxdist-9d21b248c0ba75175868bbcdfbc981c5fcba634d.tar.xz
bluez: Make it possible to deselect USB support
When using a Bluetooth module that is not connected with USB, it makes sense to deselect support for it. This saves building libusb and libusb-compat. Signed-off-by: Bernhard Walle <bernhard@bwalle.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/bluez.in')
-rw-r--r--rules/bluez.in9
1 files changed, 8 insertions, 1 deletions
diff --git a/rules/bluez.in b/rules/bluez.in
index 474c434dc..cf489a4d9 100644
--- a/rules/bluez.in
+++ b/rules/bluez.in
@@ -4,7 +4,7 @@ menuconfig BLUEZ
tristate "bluez "
select DBUS
select GLIB
- select LIBUSB_COMPAT
+ select LIBUSB_COMPAT if BLUEZ_USB
select ALSA_LIB if BLUEZ_ALSA
select GSTREAMER if BLUEZ_GSTREAMER
select GST_PLUGINS_BASE if BLUEZ_GSTREAMER
@@ -21,6 +21,13 @@ config BLUEZ_SYSTEMD_UNIT
depends on SYSTEMD
prompt "install systemd unit files for bluez"
+config BLUEZ_USB
+ bool "USB support"
+ default y
+ help
+ Build bluez with USB support. Only disable this if your Bluetooth
+ adapter is not connected via USB (for example with an UART or SDIO).
+
config BLUEZ_ALSA
bool "alsa support"
help