1 config BR2_PACKAGE_BLUEZ5_UTILS
3 depends on BR2_USE_WCHAR # libglib2
4 depends on BR2_TOOLCHAIN_HAS_THREADS # dbus, libglib2
5 depends on BR2_USE_MMU # dbus
6 depends on !BR2_STATIC_LIBS # uses dlfcn
7 depends on !BR2_PACKAGE_BLUEZ_UTILS # conflicts with 4.x version
8 depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4
9 depends on BR2_TOOLCHAIN_HAS_SYNC_4
10 select BR2_PACKAGE_DBUS
11 select BR2_PACKAGE_LIBGLIB2
13 bluez utils version 5.x
15 With this release BlueZ only supports the new Bluetooth
16 Management kernel interface (introduced in Linux 3.4).
18 For Low Energy support at least kernel version 3.5 is
21 The API is not backward compatible with BlueZ 4.
23 Bluez utils will use systemd and/or udev if enabled.
26 http://www.kernel.org/pub/linux/bluetooth
28 if BR2_PACKAGE_BLUEZ5_UTILS
30 config BR2_PACKAGE_BLUEZ5_UTILS_OBEX
31 bool "build OBEX support"
32 select BR2_PACKAGE_LIBICAL
33 depends on BR2_INSTALL_LIBSTDCPP
35 Enable the OBEX support in Bluez 5.x.
37 comment "OBEX support needs a toolchain w/ C++"
38 depends on !BR2_INSTALL_LIBSTDCPP
40 config BR2_PACKAGE_BLUEZ5_UTILS_CLIENT
41 bool "build CLI client"
42 # wordexp support not in our uClibc configuration
43 depends on !BR2_TOOLCHAIN_USES_UCLIBC
44 select BR2_PACKAGE_READLINE
46 Enable the Bluez 5.x command line client.
48 comment "bluez5-utils client needs a glibc or musl toolchain"
49 depends on BR2_TOOLCHAIN_USES_UCLIBC
51 config BR2_PACKAGE_BLUEZ5_UTILS_GATTTOOL
52 bool "install GATT tool"
53 depends on BR2_PACKAGE_BLUEZ5_UTILS_CLIENT
55 Generic Attribute Profile (GATT) support. This provides
56 profile discovery and description services for Bluetooth Low
57 Energy. This will install the gatttool utility.
59 It is always built with BlueZ 5.x, but upstream choose not
60 to install it by default.
62 config BR2_PACKAGE_BLUEZ5_UTILS_EXPERIMENTAL
63 bool "build experimental plugins"
65 Build BlueZ 5.x experimental plugins (SAP, NFC, ...).
67 config BR2_PACKAGE_BLUEZ5_PLUGINS_SIXAXIS
68 bool "build sixaxis plugin"
69 depends on BR2_PACKAGE_HAS_UDEV
71 Build BlueZ 5.x sixaxis plugin (support Sony Dualshock controller)
73 comment "sixaxis plugin needs udev /dev management"
74 depends on !BR2_PACKAGE_HAS_UDEV
76 config BR2_PACKAGE_BLUEZ5_UTILS_TEST
83 comment "bluez5-utils needs a toolchain w/ wchar, threads, headers >= 3.4, dynamic library"
84 depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \
85 !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4 || BR2_STATIC_LIBS
86 depends on BR2_TOOLCHAIN_HAS_SYNC_4
87 depends on BR2_USE_MMU
89 comment "bluez5-utils conflicts with older bluez-utils version"
90 depends on BR2_PACKAGE_BLUEZ_UTILS