config BR2_PACKAGE_LIBFTDI1
	bool "libftdi1"
	select BR2_PACKAGE_LIBUSB
	depends on BR2_TOOLCHAIN_HAS_THREADS # libusb
	help
	  Userspace access to FTDI USB interface chips (version 1.x)

	  http://www.intra2net.com/en/developer/libftdi/index.php

if BR2_PACKAGE_LIBFTDI1

config BR2_PACKAGE_LIBTFDI1_LIBFTDIPP1
	bool "libfdtipp1"
	select BR2_PACKAGE_BOOST
	depends on BR2_INSTALL_LIBSTDCPP # boost
	depends on BR2_TOOLCHAIN_HAS_THREADS # boost
	help
	  C++ bindings for libftdi

comment "libfdtipp1 needs a toolchain w/ C++"
	depends on !BR2_INSTALL_LIBSTDCPP

config BR2_PACKAGE_LIBTFDI1_PYTHON_BINDINGS
	bool "python bindings"
	depends on BR2_PACKAGE_PYTHON || BR2_PACKAGE_PYTHON3
	help
	  Python bindings for libftdi

config BR2_PACKAGE_LIBTFDI1_FDTI_EEPROM
	select BR2_PACKAGE_LIBCONFUSE
	bool "ftdi_eeprom tool"

endif # BR2_PACKAGE_LIBFTDI1

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