summaryrefslogtreecommitdiff
path: root/package/libftdi/libftdi.mk
blob: d84fc32d3cd725132120e6d7dace0afbe60cd118 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#############################################################
#
# 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

LIBFTDI_AUTORECONF = YES

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

$(eval $(call AUTOTARGETS))
$(eval $(call AUTOTARGETS,host))