libftdi1: fix typos in config options and comments

It is ftdi1, not tfdi1.

As this is a new package for 2015.05 no legacy handling has been added.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Peter Korsgaard 2015-05-16 09:29:28 +02:00
parent feeab03fa6
commit 142311fe33
2 changed files with 8 additions and 8 deletions

View File

@ -9,8 +9,8 @@ config BR2_PACKAGE_LIBFTDI1
if BR2_PACKAGE_LIBFTDI1
config BR2_PACKAGE_LIBTFDI1_LIBFTDIPP1
bool "libfdtipp1"
config BR2_PACKAGE_LIBFTDI1_LIBFTDIPP1
bool "libftdipp1"
select BR2_PACKAGE_BOOST
depends on BR2_INSTALL_LIBSTDCPP # boost
depends on BR2_TOOLCHAIN_HAS_THREADS # boost
@ -18,17 +18,17 @@ config BR2_PACKAGE_LIBTFDI1_LIBFTDIPP1
help
C++ bindings for libftdi
comment "libfdtipp1 needs a toolchain w/ C++"
comment "libftdipp1 needs a toolchain w/ C++"
depends on !BR2_INSTALL_LIBSTDCPP
depends on BR2_PACKAGE_BOOST_ARCH_SUPPORTS
config BR2_PACKAGE_LIBTFDI1_PYTHON_BINDINGS
config BR2_PACKAGE_LIBFTDI1_PYTHON_BINDINGS
bool "python bindings"
depends on BR2_PACKAGE_PYTHON || BR2_PACKAGE_PYTHON3
help
Python bindings for libftdi
config BR2_PACKAGE_LIBTFDI1_FDTI_EEPROM
config BR2_PACKAGE_LIBFTDI1_FDTI_EEPROM
select BR2_PACKAGE_LIBCONFUSE
bool "ftdi_eeprom tool"

View File

@ -13,21 +13,21 @@ LIBFTDI1_LICENSE = LGPLv2 (libftdi1), GPLv2 with exception (ftdipp1)
LIBFTDI1_LICENSE_FILES = LICENSE COPYING.GPL COPYING.LIB
LIBFTDI1_CONF_OPTS = -DDOCUMENTATION=OFF -DEXAMPLES=OFF
ifeq ($(BR2_PACKAGE_LIBTFDI1_LIBFTDIPP1),y)
ifeq ($(BR2_PACKAGE_LIBFTDI1_LIBFTDIPP1),y)
LIBFTDI1_DEPENDENCIES += boost
LIBFTDI1_CONF_OPTS += -DFTDIPP=ON
else
LIBFTDI1_CONF_OPTS += -DFTDIPP=OFF
endif
ifeq ($(BR2_PACKAGE_LIBTFDI1_PYTHON_BINDINGS),y)
ifeq ($(BR2_PACKAGE_LIBFTDI1_PYTHON_BINDINGS),y)
LIBFTDI1_DEPENDENCIES += $(if $(BR2_PACKAGE_PYTHON),python,python3) host-swig
LIBFTDI1_CONF_OPTS += -DPYTHON_BINDINGS=ON
else
LIBFTDI1_CONF_OPTS += -DPYTHON_BINDINGS=OFF
endif
ifeq ($(BR2_PACKAGE_LIBTFDI1_FDTI_EEPROM),y)
ifeq ($(BR2_PACKAGE_LIBFTDI1_FDTI_EEPROM),y)
# ftdi_eeprom optionally depends on libintl, so make sure gettext is built
# _before_ libfitdi1 when gettext is enbaled.
LIBFTDI1_DEPENDENCIES += libconfuse $(if $(BR2_PACKAGE_GETTEXT),gettext)