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
|
2019-11-24 22:12:57 +01:00
|
|
|
LIBFTDI_LICENSE = LGPL-2.1 (libftdi)
|
2019-11-24 11:08:46 +01:00
|
|
|
LIBFTDI_LICENSE_FILES = LICENSE COPYING.LIB
|
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
|
2018-05-13 21:07:32 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_LIBFTDI_CPP),y)
|
2019-11-24 11:08:46 +01:00
|
|
|
LIBFTDI_LICENSE += , GPL-2.0 with exception (ftdipp)
|
2019-11-25 08:03:19 +01:00
|
|
|
LIBFTDI_LICENSE_FILES += COPYING.GPL
|
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))
|