c7f4b96471
Since the trailing slash is stripped from $($(PKG)_SITE) by pkg-generic.mk: $(call DOWNLOAD,$($(PKG)_SITE:/=)/$($(PKG)_SOURCE)) so it is redundant. This patch removes it from $(PKG)_SITE variable for BR consistency. Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
25 lines
697 B
Makefile
25 lines
697 B
Makefile
################################################################################
|
|
#
|
|
# 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_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 $(autotools-package))
|
|
$(eval $(host-autotools-package))
|