mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-10-03 07:21:45 -09:00
The Nettle manual (nettle.html in the source archive) states: > Nettle is dual licenced under the GNU General Public License version > 2 or later, and the GNU Lesser General Public License version 3 or > later. When using Nettle, you must comply fully with all conditions > of at least one of these licenses. [...] This means "or" is the correct description. Ellipsis covers a note that a few files are licensed more permissively. Signed-off-by: Fiona Klute (Othermo GmbH) <fiona.klute@gmx.de> Signed-off-by: Julien Olivain <ju.o@free.fr>
33 lines
930 B
Makefile
33 lines
930 B
Makefile
################################################################################
|
|
#
|
|
# nettle
|
|
#
|
|
################################################################################
|
|
|
|
NETTLE_VERSION = 3.10.2
|
|
NETTLE_SITE = $(BR2_GNU_MIRROR)/nettle
|
|
NETTLE_DEPENDENCIES = host-m4 gmp
|
|
NETTLE_INSTALL_STAGING = YES
|
|
NETTLE_LICENSE = GPL-2.0+ or LGPL-3.0+
|
|
NETTLE_LICENSE_FILES = COPYING.LESSERv3 COPYINGv2
|
|
NETTLE_CPE_ID_VALID = YES
|
|
# don't include openssl support for (unused) examples as it has problems
|
|
# with static linking
|
|
NETTLE_CONF_OPTS = --disable-openssl
|
|
|
|
HOST_NETTLE_DEPENDENCIES = host-m4 host-gmp
|
|
|
|
# ARM assembly requires v6+ ISA
|
|
ifeq ($(BR2_ARM_CPU_ARMV4)$(BR2_ARM_CPU_ARMV5)$(BR2_ARM_CPU_ARMV7M),y)
|
|
NETTLE_CONF_OPTS += --disable-assembler
|
|
endif
|
|
|
|
ifeq ($(BR2_ARM_CPU_HAS_NEON),y)
|
|
NETTLE_CONF_OPTS += --enable-arm-neon
|
|
else
|
|
NETTLE_CONF_OPTS += --disable-arm-neon
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|
|
$(eval $(host-autotools-package))
|