xref: /OK3568_Linux_fs/buildroot/package/libftdi1/Config.in (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1config BR2_PACKAGE_LIBFTDI1
2	bool "libftdi1"
3	depends on BR2_TOOLCHAIN_HAS_THREADS # libusb
4	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libusb
5	select BR2_PACKAGE_LIBUSB
6	help
7	  Userspace access to FTDI USB interface chips (version 1.x)
8
9	  http://www.intra2net.com/en/developer/libftdi/index.php
10
11if BR2_PACKAGE_LIBFTDI1
12
13config BR2_PACKAGE_LIBFTDI1_LIBFTDIPP1
14	bool "libftdipp1"
15	depends on BR2_INSTALL_LIBSTDCPP # boost
16	depends on BR2_TOOLCHAIN_HAS_THREADS # boost
17	depends on BR2_USE_WCHAR # boost
18	select BR2_PACKAGE_BOOST
19	help
20	  C++ bindings for libftdi
21
22comment "libftdipp1 needs a toolchain w/ C++, wchar"
23	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR
24
25config BR2_PACKAGE_LIBFTDI1_PYTHON_BINDINGS
26	bool "python bindings"
27	depends on BR2_PACKAGE_PYTHON || BR2_PACKAGE_PYTHON3
28	help
29	  Python bindings for libftdi
30
31config BR2_PACKAGE_LIBFTDI1_FDTI_EEPROM
32	bool "ftdi_eeprom tool"
33	select BR2_PACKAGE_LIBCONFUSE
34
35endif # BR2_PACKAGE_LIBFTDI1
36
37comment "libftdi1 needs a toolchain w/ threads, gcc >= 4.9"
38	depends on !BR2_TOOLCHAIN_HAS_THREADS || \
39		!BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
40