summaryrefslogtreecommitdiffstats
path: root/rules/libusb.in
blob: ade23e224cc6ad5a11422522c2311e6da0759a37 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
## SECTION=system_libraries
menuconfig LIBUSB
	tristate
	select LIBC_RT
	select LIBC_PTHREAD
	prompt "libusb-1.x                    "
	help
	  Library to enable user space application programs to
	  communicate with USB devices.
	  Note: libusb-1.x is not binary compatible with its precedessor
	  libusb-0.x!

if LIBUSB

config LIBUSB_DISABLE_LOG
	bool
	prompt "Disable all log"
	default y
	help
	  Disable all logging. Even if an application setup the debug level
	  to a value other than 0, this library will not output any messages.
	  If this menu entry is not enabled, an application or the environment
	  variable LIBUSB_DEBUG can setup the debug message level at runtime.
	  Refer http://libusb.sourceforge.net/api-1.0/group__lib.htm function
	  libusb_set_debug()

config LIBUSB_DEBUG_LOG
	bool
	prompt "Enable debug log"
	depends on !LIBUSB_DISABLE_LOG
	help
	  Enable full debug logging. This will always output debug messages,
	  there is no way to disable them at runtime.

endif