package/libftdi1: fix license
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Sun, 24 Nov 2019 18:01:57 +0000 (19:01 +0100)
committerYann E. MORIN <yann.morin.1998@free.fr>
Sun, 24 Nov 2019 21:18:12 +0000 (22:18 +0100)
commita8ef6a5b928d98fc80ab7ed124963bfc0ecc68ca
tree4b62976d2e751810ac772207340a7d88a95956af
parent4a8f06e0f23facc9c648333a0a0f72cb8ca684e3
package/libftdi1: fix license

The GPL only applies to the C++ bindings and eeprom utility, which are
conditionally enabled with BR2_PACKAGE_LIBFTDI1_LIBFTDIPP1 and
BR2_PACKAGE_LIBFTDI1_FDTI_EEPROM, respectively.

The COPYING.LIB is indeed the LGPL-2.0, but the source file for
libftdi1 states LGPL-2.1-only, see src/ftdi.c

The src/ftdi_stream.c also bears a notice of the MIT license, so the
library itself is under both LGPL-2.1-only and MIT.

Note: the COPYING.GPL license file may get added twice to the list, but
that is not a problem in practice: it is just copied twice.

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
[yann.morin.1998@free.fr:
  - GPL-2.0 also applies to the ftdi_eeprom utility
  - s/ftdipp1/libftdipp1/
]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
package/libftdi1/libftdi1.mk