config BR2_PACKAGE_LIBNFC
	bool "libnfc"
	depends on BR2_TOOLCHAIN_HAS_THREADS # libusb
	select BR2_PACKAGE_LIBUSB
	select BR2_PACKAGE_LIBUSB_COMPAT
	help
	  Public platform independent Near Field Communication (NFC) library.

	  http://www.libnfc.org/

if BR2_PACKAGE_LIBNFC

config BR2_PACKAGE_LIBNFC_EXAMPLES
	bool "build libnfc examples"
	select BR2_PACKAGE_READLINE

endif

comment "libnfc needs a toolchain w/ threads"
	depends on !BR2_TOOLCHAIN_HAS_THREADS
