xref: /OK3568_Linux_fs/buildroot/package/pcsc-lite/Config.in (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1config BR2_PACKAGE_PCSC_LITE
2	bool "pcsc-lite"
3	depends on BR2_TOOLCHAIN_HAS_THREADS
4	depends on BR2_USE_MMU # fork()
5	depends on !BR2_STATIC_LIBS
6	help
7	  Middleware to access smart card using SCard API (PC/SC).
8
9	  https://muscle.apdu.fr/
10
11if BR2_PACKAGE_PCSC_LITE
12
13config BR2_PACKAGE_PCSC_LITE_FORCE_LIBUSB
14	bool "use libusb"
15	depends on !BR2_PACKAGE_HAS_UDEV
16	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libusb
17	select BR2_PACKAGE_LIBUSB
18	help
19	  Select Y if you want to support usb smart card readers.
20
21comment "libusb support needs a toolchain w/ gcc >= 4.9"
22	depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
23
24config BR2_PACKAGE_PCSC_LITE_DEBUGATR
25	bool "enable ATR debug messages"
26	help
27	  Enable ATR debug messages from pcscd.
28
29config BR2_PACKAGE_PCSC_LITE_EMBEDDED
30	bool "enable embedded mode"
31	help
32	  Limit RAM and CPU resources by disabling logs.
33
34endif
35
36comment "pcsc-lite needs a toolchain w/ threads, dynamic library"
37	depends on BR2_USE_MMU
38	depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS
39