2011-08-09 19:39:20 +02:00
|
|
|
#############################################################
|
|
|
|
#
|
|
|
|
# libftdi
|
|
|
|
#
|
|
|
|
#############################################################
|
|
|
|
LIBFTDI_VERSION = 0.19
|
|
|
|
LIBFTDI_SOURCE = libftdi-$(LIBFTDI_VERSION).tar.gz
|
|
|
|
LIBFTDI_SITE = http://www.intra2net.com/en/developer/libftdi/download/
|
|
|
|
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
|
2013-06-05 20:53:19 +02:00
|
|
|
HOST_LIBFTDI_AUTORECONF = YES
|
2011-08-09 19:39:20 +02:00
|
|
|
|
|
|
|
LIBFDTI_CONF_OPT = --without-examples
|
|
|
|
|
|
|
|
# configure detect it automaticaly so we need to force it
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBTFDI_CPP),y)
|
|
|
|
LIBFDTI_CONF_OPT += --enable-libftdipp
|
|
|
|
else
|
|
|
|
LIBFDTI_CONF_OPT += --disable-libftdipp
|
|
|
|
endif
|
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(autotools-package))
|
2012-07-03 00:06:54 +02:00
|
|
|
$(eval $(host-autotools-package))
|