kumquat-buildroot/package/libftdi/libftdi.mk

25 lines
700 B
Makefile
Raw Normal View History

################################################################################
#
# libftdi
#
################################################################################
LIBFTDI_VERSION = 0.19
LIBFTDI_SITE = http://www.intra2net.com/en/developer/libftdi/download
LIBFTDI_DEPENDENCIES = libusb-compat libusb
LIBFTDI_INSTALL_STAGING = YES
LIBFTDI_CONFIG_SCRIPTS = libftdi-config
LIBFTDI_AUTORECONF = YES
LIBFDTI_CONF_OPTS = --without-examples
# configure detect it automaticaly so we need to force it
ifeq ($(BR2_PACKAGE_LIBTFDI_CPP),y)
LIBFDTI_CONF_OPTS += --enable-libftdipp
else
LIBFDTI_CONF_OPTS += --disable-libftdipp
endif
$(eval $(autotools-package))
$(eval $(host-autotools-package))