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
|
|
|
|
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
|
|
|
|
|
2014-09-27 21:32:44 +02:00
|
|
|
LIBFDTI_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)
|
2014-09-27 21:32:44 +02:00
|
|
|
LIBFDTI_CONF_OPTS += --enable-libftdipp
|
2011-08-09 19:39:20 +02:00
|
|
|
else
|
2014-09-27 21:32:44 +02:00
|
|
|
LIBFDTI_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))
|