2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2011-08-09 19:39:20 +02:00
|
|
|
#
|
|
|
|
# libftdi
|
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2013-06-06 01:53:25 +02:00
|
|
|
|
2015-03-08 12:26:01 +01:00
|
|
|
LIBFTDI_VERSION = 0.20
|
2014-07-31 10:46:58 +02:00
|
|
|
LIBFTDI_SITE = http://www.intra2net.com/en/developer/libftdi/download
|
2011-08-09 19:39:20 +02:00
|
|
|
LIBFTDI_DEPENDENCIES = libusb-compat libusb
|
2016-07-03 00:20:51 +02:00
|
|
|
HOST_LIBFTDI_DEPENDENCIES = host-libusb-compat host-libusb
|
2011-08-09 19:39:20 +02:00
|
|
|
LIBFTDI_INSTALL_STAGING = YES
|
2013-05-10 08:29:30 +02:00
|
|
|
LIBFTDI_CONFIG_SCRIPTS = libftdi-config
|
2011-08-09 19:39:20 +02:00
|
|
|
LIBFTDI_AUTORECONF = YES
|
|
|
|
|
2017-02-07 09:55:27 +01:00
|
|
|
LIBFTDI_CONF_OPTS = --without-examples
|
2011-08-09 19:39:20 +02:00
|
|
|
|
|
|
|
# configure detect it automaticaly so we need to force it
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBTFDI_CPP),y)
|
2016-01-25 00:07:47 +01:00
|
|
|
LIBFTDI_DEPENDENCIES += boost
|
2017-02-07 09:55:27 +01:00
|
|
|
LIBFTDI_CONF_OPTS += --enable-libftdipp
|
2011-08-09 19:39:20 +02:00
|
|
|
else
|
2017-02-07 09:55:27 +01:00
|
|
|
LIBFTDI_CONF_OPTS += --disable-libftdipp
|
2011-08-09 19:39:20 +02:00
|
|
|
endif
|
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(autotools-package))
|
2012-07-03 00:06:54 +02:00
|
|
|
$(eval $(host-autotools-package))
|