summaryrefslogtreecommitdiffstats
path: root/rules/libftdi1.in
diff options
context:
space:
mode:
authorAndreas Helmcke <ahe@helmcke.name>2013-03-28 11:44:20 +0100
committerMichael Olbrich <m.olbrich@pengutronix.de>2013-03-29 10:58:06 +0100
commit20c6d444465bf7bca801e0b9f43e4e00e74f0ec0 (patch)
treef223c794d6bedcd7bbfb6c31a6b5ec09343b4f06 /rules/libftdi1.in
parent7610fe0b44ccfc2a7ccd74cbb92caa7a95e9fe56 (diff)
downloadptxdist-20c6d444465bf7bca801e0b9f43e4e00e74f0ec0.tar.gz
ptxdist-20c6d444465bf7bca801e0b9f43e4e00e74f0ec0.tar.xz
libftdi1: new package
Signed-off-by: Andreas Helmcke <ahe@helmcke.name> [mol: add GCCLIBS_GCC_S deps and whitespace fixup] Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/libftdi1.in')
-rw-r--r--rules/libftdi1.in43
1 files changed, 43 insertions, 0 deletions
diff --git a/rules/libftdi1.in b/rules/libftdi1.in
new file mode 100644
index 000000000..d0b34ab43
--- /dev/null
+++ b/rules/libftdi1.in
@@ -0,0 +1,43 @@
+## SECTION=system_libraries
+
+menuconfig LIBFTDI1
+ tristate
+ prompt "libftdi1 "
+ select HOST_CMAKE
+ select GCCLIBS_GCC_S if LIBFTDI1_CPP_WRAPPER
+ select LIBUSB
+ select BOOST if LIBFTDI1_CPP_WRAPPER
+ select LIBCONFUSE if LIBFTDI1_FTDI_EEPROM
+ help
+ libFTDI is an open source library to talk to FTDI chips:
+ FT232BM, FT245BM, FT2232C, FT2232D, FT245R and FT232H
+ including the popular bitbang mode.
+
+ libftdi1 is the successor of libftdi based on libusb1
+
+if LIBFTDI1
+
+config LIBFTDI1_EXAMPLES
+ bool
+ prompt "build and install examples"
+ help
+ Build and install example programes.
+ Will be installed to /usr/bin/libftdi1/
+
+config LIBFTDI1_FTDI_EEPROM
+ bool
+ prompt "build and install ftdi_eeprom"
+ help
+ Advanced tool to read and write ftdi eeprom.
+ Simpler tools are available when installing examples.
+ Will be installed to /usr/bin/
+
+ Needs library confuse
+
+config LIBFTDI1_CPP_WRAPPER
+ bool
+ prompt "enable C++ wrapper"
+ help
+ Needs library boost
+
+endif