buildrootschalter/package/libftdi/libftdi.mk
Thomas Petazzoni 76cd6b18e3 libftdi: add host variant
[Peter: remove redundant HOST_LIBFTDI_DEPENDENCIES]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: Luca Ceresoli <luca@lucaceresoli.net>
Acked-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-02-02 21:01:49 +01:00

25 lines
669 B
Makefile

#############################################################
#
# 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))