bluez5_utils: depends on BR2_TOOLCHAIN_HAS_SYNC_4
[buildroot-gz.git] / package / bluez5_utils / Config.in
blob18b7bbf0e07b83a8cf750bb8b6abd038e6454664
1 config BR2_PACKAGE_BLUEZ5_UTILS
2         bool "bluez-utils 5.x"
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         # wordexp support not in our uClibc configuration
10         depends on !BR2_TOOLCHAIN_USES_UCLIBC
11         depends on BR2_TOOLCHAIN_HAS_SYNC_4
12         select BR2_PACKAGE_DBUS
13         select BR2_PACKAGE_LIBGLIB2
14         help
15           bluez utils version 5.x
17           With this release BlueZ only supports the new Bluetooth
18           Management kernel interface (introduced in Linux 3.4).
20           For Low Energy support at least kernel version 3.5 is
21           needed.
23           The API is not backward compatible with BlueZ 4.
25           Bluez utils will use systemd and/or udev if enabled.
27           http://www.bluez.org
28           http://www.kernel.org/pub/linux/bluetooth
30 if BR2_PACKAGE_BLUEZ5_UTILS
32 config BR2_PACKAGE_BLUEZ5_UTILS_OBEX
33         bool "build OBEX support"
34         select BR2_PACKAGE_LIBICAL
35         depends on BR2_INSTALL_LIBSTDCPP
36         help
37           Enable the OBEX support in Bluez 5.x.
39 comment "OBEX support needs a toolchain w/ C++"
40         depends on !BR2_INSTALL_LIBSTDCPP
42 config BR2_PACKAGE_BLUEZ5_UTILS_CLIENT
43         bool "build CLI client"
44         select BR2_PACKAGE_READLINE
45         help
46           Enable the Bluez 5.x command line client.
48 config BR2_PACKAGE_BLUEZ5_UTILS_GATTTOOL
49         bool "install GATT tool"
50         depends on BR2_PACKAGE_BLUEZ5_UTILS_CLIENT
51         help
52           Generic Attribute Profile (GATT) support. This provides
53           profile discovery and description services for Bluetooth Low
54           Energy. This will install the gatttool utility.
56           It is always built with BlueZ 5.x, but upstream choose not
57           to install it by default.
59 config BR2_PACKAGE_BLUEZ5_UTILS_EXPERIMENTAL
60         bool "build experimental plugins"
61         help
62           Build BlueZ 5.x experimental plugins (SAP, NFC, ...).
64 config BR2_PACKAGE_BLUEZ5_PLUGINS_SIXAXIS
65         bool "build sixaxis plugin"
66         depends on BR2_PACKAGE_HAS_UDEV
67         help
68           Build BlueZ 5.x sixaxis plugin (support Sony Dualshock controller)
70 comment "sixaxis plugin needs udev /dev management"
71         depends on !BR2_PACKAGE_HAS_UDEV
73 config BR2_PACKAGE_BLUEZ5_UTILS_TEST
74         bool "build tests"
75         help
76           Build BlueZ 5.x tests
78 endif
80 comment "bluez5-utils needs a glibc or musl toolchain w/ wchar, threads, headers >= 3.4, dynamic library"
81         depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \
82                 !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4 || BR2_STATIC_LIBS || \
83                 !(BR2_TOOLCHAIN_USES_GLIBC || BR2_TOOLCHAIN_USES_MUSL)
84         depends on BR2_TOOLCHAIN_HAS_SYNC_4
85         depends on BR2_USE_MMU
87 comment "bluez5-utils conflicts with older bluez-utils version"
88         depends on BR2_PACKAGE_BLUEZ_UTILS