mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-08-08 08:30:47 -09:00
libftdi1's commit 2a992306c0acf938b29fa0cd5fbc160e24424209 introduced support for independent static/shared library building. But the proper building of the ftid_eeprom tool was introduced later in commit eaf42c00bfab5d6bbd8106b11a697ff4f2d7659f. So let's update to the latest commit that also includes other fixes: 92d657bcb543a9622947d984d4a8e725fb680e8c ChangeLog: Add license clarifications 06fa7fa342a6976a3745894b46babfa5fde841f7 ftdipp: Add wrapper for ftdi_set_module_detach_mode() 120c3495ba82ae9c35a7518248b2e45dfbc36ea7 Merge branch 'prepare-release' c4b7675a43dcd8fa7c1c42708d5665a2a02e86e4 Set version number to 1.6rc1 c0c8c923829e1c391d7ca951e12b50092d6435f1 Prepare changelog for 1.6rc1 9341a7e8efc07c213c872ced62fc03c03a270b44 Increase copyright year to 2026 f9301536f4004d42cec4dd36f2505679459aae4e Update AUTHORS with contributors since v1.5 ed9d31e41a6ec695fd610e4d718ccc8bb6aefa4b Merge branch 'clarify-license' 84497180578f481758042c73eee9ec0eb60bace3 COPYING.LIB: Update to LGPL v2.1 4ec5bc584c27c333f74eca524de5a0839c983935 LICENSE: Clarify the main ftdi lib is LGPL v2.1 only 61ad454af3e0a886a665659b73729872cfb564a0 LICENSE: Clarify ftdi_eeprom is GPL v2 only 630a27f240fd784c7c3f5d75e7c880eca3a66cf8 Replace tabs in fall-through comments 4f600d690ee0dcbecef4b02edb5700fe84c4a9b3 Modernize Boost detection for CMake 3.30+ f7ed9dd371f9387ed5b715a4f316eea9f85de48d python/CMakeLists.txt: rework Python development files detection eaf42c00bfab5d6bbd8106b11a697ff4f2d7659f ftdi_eeprom: fix static build f554d7cd432d3056b1ca62bf09cc4003bf307912 Ignore JetBrains IDE files 019f48462836c9f3a0a1f113a351395ddcf99640 CMake: auto-format all CMake files Licence files changed due to copyright year change as also some licence clarifications described in patches: 84497180578f481758042c73eee9ec0eb60bace3 4ec5bc584c27c333f74eca524de5a0839c983935 61ad454af3e0a886a665659b73729872cfb564a0 Fixes: https://autobuild.buildroot.org/results/8e1299b9ce28df2a848310c5bfb968f59cd8794c/ Signed-off-by: Julien Olivain <ju.o@free.fr>
51 lines
1.6 KiB
Makefile
51 lines
1.6 KiB
Makefile
################################################################################
|
|
#
|
|
# libftdi1
|
|
#
|
|
################################################################################
|
|
|
|
LIBFTDI1_VERSION = v1.6rc1-2-g92d657bcb543a9622947d984d4a8e725fb680e8c
|
|
LIBFTDI1_SITE = git://developer.intra2net.com/libftdi
|
|
LIBFTDI1_INSTALL_STAGING = YES
|
|
LIBFTDI1_DEPENDENCIES = host-pkgconf libusb
|
|
LIBFTDI1_LICENSE = LGPL-2.1 (libftdi1), MIT (libftdi1)
|
|
LIBFTDI1_LICENSE_FILES = LICENSE COPYING.LIB
|
|
LIBFTDI1_CONFIG_SCRIPTS = libftdi1-config
|
|
LIBFTDI1_CONF_OPTS = -DDOCUMENTATION=OFF -DEXAMPLES=OFF
|
|
|
|
ifeq ($(BR2_STATIC_LIBS),y)
|
|
LIBFTDI1_CONF_OPTS += -DSTATICLIBS=ON -DSHAREDLIBS=OFF
|
|
else ifeq ($(BR2_SHARED_LIBS),y)
|
|
LIBFTDI1_CONF_OPTS += -DSTATICLIBS=OFF -DSHAREDLIBS=ON
|
|
else ifeq ($(BR2_SHARED_STATIC_LIBS),y)
|
|
LIBFTDI1_CONF_OPTS += -DSTATICLIBS=ON -DSHAREDLIBS=ON
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBFTDI1_LIBFTDIPP1),y)
|
|
LIBFTDI1_LICENSE += , GPL-2.0 with exception (libftdipp1)
|
|
LIBFTDI1_LICENSE_FILES += COPYING.GPL
|
|
LIBFTDI1_DEPENDENCIES += boost
|
|
LIBFTDI1_CONF_OPTS += -DFTDIPP=ON
|
|
else
|
|
LIBFTDI1_CONF_OPTS += -DFTDIPP=OFF
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBFTDI1_PYTHON_BINDINGS),y)
|
|
LIBFTDI1_DEPENDENCIES += python3 host-swig
|
|
LIBFTDI1_CONF_OPTS += -DPYTHON_BINDINGS=ON
|
|
else
|
|
LIBFTDI1_CONF_OPTS += -DPYTHON_BINDINGS=OFF
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBFTDI1_FDTI_EEPROM),y)
|
|
# ftdi_eeprom optionally depends on libintl
|
|
LIBFTDI1_LICENSE += , GPL-2.0 (ftdi_eeprom)
|
|
LIBFTDI1_LICENSE_FILES += COPYING.GPL
|
|
LIBFTDI1_DEPENDENCIES += libconfuse $(TARGET_NLS_DEPENDENCIES)
|
|
LIBFTDI1_CONF_OPTS += -DFTDI_EEPROM=ON
|
|
else
|
|
LIBFTDI1_CONF_OPTS += -DFTDI_EEPROM=OFF
|
|
endif
|
|
|
|
$(eval $(cmake-package))
|