kumquat-buildroot/package/libftdi1/Config.in
Daniel Sangue 2620a1ac2d package/libftdi1: new package
This version of libftdi can coexists beside the 0.x version.

Signed-off-by: Daniel Sangue <daniel.sangue@sangue.ch>
[Samuel Martin:
  - libftdi1.mk: bump to version 1.2 and add hash
  - cleanup uneeded libusb-compat stuff
  - Config.in: add comment when ftdipp1 deps are not met
  - fix typos in variable names and legit CMake options for *_CONF_OPTS
  - add support for python bindings and ftdi_eeprom
  - fix static build
  - fix build with toolchain w/o C++ support
]
Signed-off-by: Samuel Martin <s.martin49@gmail.com>

[Thomas:
 - reorder Config.in option properties: first the "bool" property,
   then the "selects", then the "depends on".
 - remove "thread" dependency from the libftdipp1 comment since the
   whole package can anyway not be selected if there's no thread
   support.
 - fix a big mistake in the .mk file:
    $(if BR2_PACKAGE_PYTHON,python,python3)
   replaced by:
    $(if $(BR2_PACKAGE_PYTHON),python,python3)
 - add license information.]

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-03-16 14:08:45 +01:00

38 lines
999 B
Plaintext

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_LARGEFILE # boost
depends on BR2_TOOLCHAIN_HAS_THREADS # boost
help
C++ bindings for libftdi
comment "libfdtipp1 needs a toolchain w/ C++, largefile"
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_LARGEFILE
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