xref: /OK3568_Linux_fs/buildroot/package/bluez5_utils/Config.in (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyunconfig BR2_PACKAGE_BLUEZ5_UTILS
2*4882a593Smuzhiyun	bool "bluez-utils"
3*4882a593Smuzhiyun	depends on BR2_USE_WCHAR # libglib2
4*4882a593Smuzhiyun	depends on BR2_TOOLCHAIN_HAS_THREADS # dbus, libglib2
5*4882a593Smuzhiyun	depends on BR2_USE_MMU # dbus
6*4882a593Smuzhiyun	depends on !BR2_STATIC_LIBS # uses dlfcn
7*4882a593Smuzhiyun	depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4
8*4882a593Smuzhiyun	depends on BR2_TOOLCHAIN_HAS_SYNC_4
9*4882a593Smuzhiyun	select BR2_PACKAGE_DBUS
10*4882a593Smuzhiyun	select BR2_PACKAGE_LIBGLIB2
11*4882a593Smuzhiyun	help
12*4882a593Smuzhiyun	  BlueZ utils
13*4882a593Smuzhiyun
14*4882a593Smuzhiyun	  Provides Stack, Library and Tooling for Bluetooth Classic
15*4882a593Smuzhiyun	  and Bluetooth LE.
16*4882a593Smuzhiyun
17*4882a593Smuzhiyun	  BlueZ utils will use systemd and/or udev if enabled.
18*4882a593Smuzhiyun
19*4882a593Smuzhiyun	  http://www.bluez.org
20*4882a593Smuzhiyun	  http://www.kernel.org/pub/linux/bluetooth
21*4882a593Smuzhiyun
22*4882a593Smuzhiyunif BR2_PACKAGE_BLUEZ5_UTILS
23*4882a593Smuzhiyun
24*4882a593Smuzhiyunconfig BR2_PACKAGE_BLUEZ5_UTILS_OBEX
25*4882a593Smuzhiyun	bool "build OBEX support"
26*4882a593Smuzhiyun	depends on BR2_INSTALL_LIBSTDCPP
27*4882a593Smuzhiyun	select BR2_PACKAGE_LIBICAL
28*4882a593Smuzhiyun	help
29*4882a593Smuzhiyun	  Enable OBEX support.
30*4882a593Smuzhiyun
31*4882a593Smuzhiyuncomment "OBEX support needs a toolchain w/ C++"
32*4882a593Smuzhiyun	depends on !BR2_INSTALL_LIBSTDCPP
33*4882a593Smuzhiyun
34*4882a593Smuzhiyunconfig BR2_PACKAGE_BLUEZ5_UTILS_CLIENT
35*4882a593Smuzhiyun	bool "build CLI client"
36*4882a593Smuzhiyun	select BR2_PACKAGE_READLINE
37*4882a593Smuzhiyun	help
38*4882a593Smuzhiyun	  Build the command line client "bluetoothctl".
39*4882a593Smuzhiyun
40*4882a593Smuzhiyunconfig BR2_PACKAGE_BLUEZ5_UTILS_MONITOR
41*4882a593Smuzhiyun	bool "build monitor utility"
42*4882a593Smuzhiyun	help
43*4882a593Smuzhiyun	  Build monitor utility btmon.
44*4882a593Smuzhiyun
45*4882a593Smuzhiyunconfig BR2_PACKAGE_BLUEZ5_UTILS_TOOLS
46*4882a593Smuzhiyun	bool "build tools"
47*4882a593Smuzhiyun	help
48*4882a593Smuzhiyun	  Build tools like bluemoon, btattach, hex2hcd, l2test,
49*4882a593Smuzhiyun	  l2ping, mpris-proxy, rctest.
50*4882a593Smuzhiyun
51*4882a593Smuzhiyunconfig BR2_PACKAGE_BLUEZ5_UTILS_DEPRECATED
52*4882a593Smuzhiyun	bool "install deprecated tools"
53*4882a593Smuzhiyun	depends on BR2_PACKAGE_BLUEZ5_UTILS_CLIENT || BR2_PACKAGE_BLUEZ5_UTILS_TOOLS
54*4882a593Smuzhiyun	help
55*4882a593Smuzhiyun	  Build deprecated tools.
56*4882a593Smuzhiyun
57*4882a593Smuzhiyun	  When "build tools" is selected these tools are installed:
58*4882a593Smuzhiyun	  hciattach, hciconfig, hcitool, hcidump, rfcomm, sdptool,
59*4882a593Smuzhiyun	  ciptool.
60*4882a593Smuzhiyun
61*4882a593Smuzhiyun	  When CLI client is enabled "gatttool" is installed.
62*4882a593Smuzhiyun
63*4882a593Smuzhiyunconfig BR2_PACKAGE_BLUEZ5_UTILS_EXPERIMENTAL
64*4882a593Smuzhiyun	bool "build experimental tools"
65*4882a593Smuzhiyun	help
66*4882a593Smuzhiyun	  Build experimental tools. This is currently only the
67*4882a593Smuzhiyun	  "Nokia OBEX PC Suite tool". So, only if OBEX support is
68*4882a593Smuzhiyun	  enabled this option has an effect.
69*4882a593Smuzhiyun
70*4882a593Smuzhiyunconfig BR2_PACKAGE_BLUEZ5_UTILS_PLUGINS_AUDIO
71*4882a593Smuzhiyun	bool "build audio plugins (a2dp and avrcp)"
72*4882a593Smuzhiyun	help
73*4882a593Smuzhiyun	  Build plugins for audio profiles (for A2DP and AVRCP).
74*4882a593Smuzhiyun
75*4882a593Smuzhiyunconfig BR2_PACKAGE_BLUEZ5_UTILS_PLUGINS_HEALTH
76*4882a593Smuzhiyun	bool "build health plugin"
77*4882a593Smuzhiyun	help
78*4882a593Smuzhiyun	  Build plugin for health profiles.
79*4882a593Smuzhiyun
80*4882a593Smuzhiyunconfig BR2_PACKAGE_BLUEZ5_UTILS_PLUGINS_HID
81*4882a593Smuzhiyun	bool "build hid plugin"
82*4882a593Smuzhiyun	select BR2_PACKAGE_BLUEZ5_UTILS_PLUGINS_HOG
83*4882a593Smuzhiyun	help
84*4882a593Smuzhiyun	  Build plugin for HID (input) profiles.
85*4882a593Smuzhiyun
86*4882a593Smuzhiyunconfig BR2_PACKAGE_BLUEZ5_UTILS_PLUGINS_HOG
87*4882a593Smuzhiyun	bool "build hog plugin"
88*4882a593Smuzhiyun	help
89*4882a593Smuzhiyun	  Build plugin for HoG (input) profiles.
90*4882a593Smuzhiyun
91*4882a593Smuzhiyunconfig BR2_PACKAGE_BLUEZ5_UTILS_PLUGINS_MESH
92*4882a593Smuzhiyun	bool "build mesh plugin"
93*4882a593Smuzhiyun	depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_12 # ell
94*4882a593Smuzhiyun	select BR2_PACKAGE_ELL
95*4882a593Smuzhiyun	select BR2_PACKAGE_JSON_C
96*4882a593Smuzhiyun	select BR2_PACKAGE_READLINE
97*4882a593Smuzhiyun	help
98*4882a593Smuzhiyun	  Build plugin for Mesh support.
99*4882a593Smuzhiyun
100*4882a593Smuzhiyuncomment "mesh profile needs a toolchain w/ headers >= 4.12"
101*4882a593Smuzhiyun	depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_12
102*4882a593Smuzhiyun
103*4882a593Smuzhiyunconfig BR2_PACKAGE_BLUEZ5_UTILS_PLUGINS_MIDI
104*4882a593Smuzhiyun	bool "build midi plugin"
105*4882a593Smuzhiyun	select BR2_PACKAGE_ALSA_LIB
106*4882a593Smuzhiyun	select BR2_PACKAGE_ALSA_LIB_SEQ
107*4882a593Smuzhiyun	help
108*4882a593Smuzhiyun	  Build MIDI support via ALSA sequencer.
109*4882a593Smuzhiyun
110*4882a593Smuzhiyunconfig BR2_PACKAGE_BLUEZ5_UTILS_PLUGINS_NETWORK
111*4882a593Smuzhiyun	bool "build network plugin"
112*4882a593Smuzhiyun	default y
113*4882a593Smuzhiyun	help
114*4882a593Smuzhiyun	  Build plugin for PANU, NAP, GN profiles.
115*4882a593Smuzhiyun
116*4882a593Smuzhiyunconfig BR2_PACKAGE_BLUEZ5_UTILS_PLUGINS_NFC
117*4882a593Smuzhiyun	bool "build nfc plugin"
118*4882a593Smuzhiyun	help
119*4882a593Smuzhiyun	  Build plugin for NFC pairing.
120*4882a593Smuzhiyun
121*4882a593Smuzhiyunconfig BR2_PACKAGE_BLUEZ5_UTILS_PLUGINS_SAP
122*4882a593Smuzhiyun	bool "build sap plugin"
123*4882a593Smuzhiyun	help
124*4882a593Smuzhiyun	  Build plugin for SAP profile.
125*4882a593Smuzhiyun
126*4882a593Smuzhiyunconfig BR2_PACKAGE_BLUEZ5_UTILS_PLUGINS_SIXAXIS
127*4882a593Smuzhiyun	bool "build sixaxis plugin"
128*4882a593Smuzhiyun	depends on BR2_PACKAGE_HAS_UDEV
129*4882a593Smuzhiyun	select BR2_PACKAGE_BLUEZ5_UTILS_PLUGINS_HID # runtime
130*4882a593Smuzhiyun	help
131*4882a593Smuzhiyun	  Build sixaxis plugin (support Sony Dualshock
132*4882a593Smuzhiyun	  controller)
133*4882a593Smuzhiyun
134*4882a593Smuzhiyuncomment "sixaxis plugin needs udev /dev management"
135*4882a593Smuzhiyun	depends on !BR2_PACKAGE_HAS_UDEV
136*4882a593Smuzhiyun
137*4882a593Smuzhiyunconfig BR2_PACKAGE_BLUEZ5_UTILS_TEST
138*4882a593Smuzhiyun	bool "install test scripts"
139*4882a593Smuzhiyun	help
140*4882a593Smuzhiyun	  Install the python test scripts from the "test" directory.
141*4882a593Smuzhiyun
142*4882a593Smuzhiyunconfig BR2_PACKAGE_BLUEZ5_UTILS_TOOLS_HID2HCI
143*4882a593Smuzhiyun	bool "build hid2hci tool"
144*4882a593Smuzhiyun	depends on BR2_PACKAGE_HAS_UDEV
145*4882a593Smuzhiyun	select BR2_PACKAGE_BLUEZ5_UTILS_PLUGINS_HID # runtime
146*4882a593Smuzhiyun	select BR2_PACKAGE_BLUEZ5_UTILS_TOOLS
147*4882a593Smuzhiyun	help
148*4882a593Smuzhiyun	  Build hid2hci tool
149*4882a593Smuzhiyun
150*4882a593Smuzhiyuncomment "hid2hci tool needs udev /dev management"
151*4882a593Smuzhiyun	depends on !BR2_PACKAGE_HAS_UDEV
152*4882a593Smuzhiyun
153*4882a593Smuzhiyunendif
154*4882a593Smuzhiyun
155*4882a593Smuzhiyuncomment "bluez5-utils needs a toolchain w/ wchar, threads, headers >= 3.4, dynamic library"
156*4882a593Smuzhiyun	depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \
157*4882a593Smuzhiyun		!BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4 || BR2_STATIC_LIBS
158*4882a593Smuzhiyun	depends on BR2_TOOLCHAIN_HAS_SYNC_4
159*4882a593Smuzhiyun	depends on BR2_USE_MMU
160