kumquat-buildroot/package/libnfc/Config.in
Fabrice Fontaine d590003e31 package/pcsc-lite: needs gcc >= 4.9
gcc >= 4.9 is needed since bump to version 1.9.6 in commit
b02f13cd54 and
d56ed18dbe:

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>
2022-05-28 22:40:29 +02:00

84 lines
2.1 KiB
Plaintext

config BR2_PACKAGE_LIBNFC
bool "libnfc"
help
Public platform independent Near Field Communication (NFC)
library.
http://www.libnfc.org/
if BR2_PACKAGE_LIBNFC
config BR2_PACKAGE_LIBNFC_ACR122_PCSC
bool "acr122_pcsc driver"
depends on BR2_TOOLCHAIN_HAS_THREADS # pcsc-lite
depends on BR2_USE_MMU # pcsc-lite
depends on !BR2_STATIC_LIBS # pcsc-lite
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # pcsc-lite
select BR2_PACKAGE_PCSC_LITE
help
support for acr112_pcsc driver
comment "acr122_pcsc driver 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
config BR2_PACKAGE_LIBNFC_ACR122_USB
bool "acr122_usb driver"
depends on BR2_TOOLCHAIN_HAS_THREADS
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libusb
select BR2_PACKAGE_LIBUSB
select BR2_PACKAGE_LIBUSB_COMPAT
help
support for acr122_usb driver
comment "acr122_usb driver needs a toolchain w/ threads, gcc >= 4.9"
depends on !BR2_TOOLCHAIN_HAS_THREADS || \
!BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
config BR2_PACKAGE_LIBNFC_ACR122S
bool "acr122s driver"
help
support for acr122s driver
config BR2_PACKAGE_LIBNFC_ARYGON
bool "arygon driver"
default y
help
support for arygon driver
config BR2_PACKAGE_LIBNFC_PN532_I2C
bool "pn532_i2c driver"
help
support for pn532_i2c driver
config BR2_PACKAGE_LIBNFC_PN532_SPI
bool "pn532_spi driver"
help
support for pn532_spi driver
config BR2_PACKAGE_LIBNFC_PN532_UART
bool "pn532_uart driver"
help
support for pn532_uart driver
config BR2_PACKAGE_LIBNFC_PN53X_USB
bool "pn53x_usb driver"
default y
depends on BR2_TOOLCHAIN_HAS_THREADS
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libusb
select BR2_PACKAGE_LIBUSB
select BR2_PACKAGE_LIBUSB_COMPAT
help
support for pn53x_usb driver
comment "pn53x_usb driver needs a toolchain w/ threads, gcc >= 4.9"
depends on !BR2_TOOLCHAIN_HAS_THREADS || \
!BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
config BR2_PACKAGE_LIBNFC_EXAMPLES
bool "build libnfc examples"
select BR2_PACKAGE_READLINE
endif