buildroot/package/libftdi/libftdi.mk
Thomas Petazzoni dc4e4aac03 libftdi: rename option to have proper prefix
The option name BR2_PACKAGE_LIBTFDI_CPP obviously had a typo: it
should have been named BR2_PACKAGE_LIBFTDI_CPP, and add the necessary
Config.in.legacy handling.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2018-05-21 23:08:47 +02:00

27 lines
789 B
Makefile

################################################################################
#
# libftdi
#
################################################################################
LIBFTDI_VERSION = 0.20
LIBFTDI_SITE = http://www.intra2net.com/en/developer/libftdi/download
LIBFTDI_DEPENDENCIES = libusb-compat libusb
HOST_LIBFTDI_DEPENDENCIES = host-libusb-compat host-libusb
LIBFTDI_INSTALL_STAGING = YES
LIBFTDI_CONFIG_SCRIPTS = libftdi-config
LIBFTDI_AUTORECONF = YES
LIBFTDI_CONF_OPTS = --without-examples
# configure detect it automaticaly so we need to force it
ifeq ($(BR2_PACKAGE_LIBFTDI_CPP),y)
LIBFTDI_DEPENDENCIES += boost
LIBFTDI_CONF_OPTS += --enable-libftdipp
else
LIBFTDI_CONF_OPTS += --disable-libftdipp
endif
$(eval $(autotools-package))
$(eval $(host-autotools-package))