blob: f4ed5ba2f0f6fd3fb67dc3348392755b5a6c5690 [file] [log] [blame]
config BR2_PACKAGE_PCSC_LITE
bool "pcsc-lite"
depends on BR2_TOOLCHAIN_HAS_THREADS
depends on BR2_USE_MMU # fork()
depends on !BR2_STATIC_LIBS
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # _Atomic keyword
help
Middleware to access smart card using SCard API (PC/SC).
https://muscle.apdu.fr/
if BR2_PACKAGE_PCSC_LITE
config BR2_PACKAGE_PCSC_LITE_FORCE_LIBUSB
bool "use libusb"
depends on !BR2_PACKAGE_HAS_UDEV
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libusb
select BR2_PACKAGE_LIBUSB
help
Select Y if you want to support usb smart card readers.
comment "libusb support needs a toolchain w/ gcc >= 4.9"
depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
config BR2_PACKAGE_PCSC_LITE_DEBUGATR
bool "enable ATR debug messages"
help
Enable ATR debug messages from pcscd.
config BR2_PACKAGE_PCSC_LITE_EMBEDDED
bool "enable embedded mode"
help
Limit RAM and CPU resources by disabling logs.
endif
comment "pcsc-lite needs a toolchain w/ threads, dynamic library, gcc >= 4.9"
depends on BR2_USE_MMU
depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS || \
!BR2_TOOLCHAIN_GCC_AT_LEAST_4_9