d590003e31
gcc >= 4.9 is needed since bump to version 1.9.6 in commitb02f13cd54
andd56ed18dbe
: In file included from winscard_clnt.c:123:0: readerfactory.h:101:3: error: unknown type name '_Atomic' _Atomic DWORD dwEventStatus; /**< Recent event that must be sent */ ^ Fixes: - http://autobuild.buildroot.org/results/189f030a2252f17abf8b819feec0003815c66e79 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
41 lines
1.1 KiB
Plaintext
41 lines
1.1 KiB
Plaintext
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
|