summaryrefslogtreecommitdiffstats
path: root/package/libftdi/Config.in
blob: 8e02cb914c5a4f5e12079653df56b684ddd8330e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
config BR2_PACKAGE_LIBFTDI
	bool "libftdi"
	depends on BR2_TOOLCHAIN_HAS_THREADS # libusb
	select BR2_PACKAGE_LIBUSB
	select BR2_PACKAGE_LIBUSB_COMPAT
	help
	  Userspace access to FTDI USB interface chips

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

if BR2_PACKAGE_LIBFTDI

config BR2_PACKAGE_LIBTFDI_CPP
	bool "C++ bindings"
	depends on BR2_INSTALL_LIBSTDCPP
	depends on BR2_PACKAGE_BOOST_ARCH_SUPPORTS
	depends on BR2_USE_WCHAR
	select BR2_PACKAGE_BOOST
	help
	  C++ bindings for libftdi

comment "libftdi C++ bindings need a toolchain w/ wchar, C++"
	depends on BR2_PACKAGE_BOOST_ARCH_SUPPORTS
	depends on !BR2_USE_WCHAR || !BR2_INSTALL_LIBSTDCPP

endif # BR2_PACKAGE_LIBFTDI

comment "libftdi needs a toolchain w/ threads"
	depends on !BR2_TOOLCHAIN_HAS_THREADS
OpenPOWER on IntegriCloud