summaryrefslogtreecommitdiffstats
path: root/rules/libusb.in
blob: 42ad2629d20ab4a8c8fe50463a703bb17fd94119 (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
36
37
38
39
## SECTION=system_libraries

menuconfig LIBUSB
	tristate
	select LIBC_RT
	select LIBC_PTHREAD
	prompt "libusb-1.x                    "
	help
	  userspace USB programming library

	  Library for programming USB applications without the
	  knowledge of Linux kernel internals.

	  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