summaryrefslogtreecommitdiffstats
path: root/rules/libusb.in
blob: 61213527eb5e41901429051b24bb9c8c697d4731 (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
40
41
## SECTION=system_libraries

menuconfig LIBUSB
	tristate
	select LIBC_RT
	select LIBC_PTHREAD
	prompt "libusb-1.x                    "
	help
	  Library for programming USB applications without the
	  knowledge of Linux kernel internals.

if LIBUSB

config LIBUSB_LOG
	bool
	prompt "Enable all log"
	help
	  Enable 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 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_SYSTEM_LOG
	bool
	prompt "Enable system log"
	depends on LIBUSB_LOG
	help
	  Enable output logging messages to system wide log, if supported by
	  the OS.

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

endif