2f55099c01
nettle 3.4.1 is a requirement for gnutls 3.6.5 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
29 lines
834 B
Makefile
29 lines
834 B
Makefile
################################################################################
|
|
#
|
|
# nettle
|
|
#
|
|
################################################################################
|
|
|
|
NETTLE_VERSION = 3.4.1
|
|
NETTLE_SITE = http://www.lysator.liu.se/~nisse/archive
|
|
NETTLE_DEPENDENCIES = gmp
|
|
NETTLE_INSTALL_STAGING = YES
|
|
NETTLE_LICENSE = Dual GPL-2.0+/LGPL-3.0+
|
|
NETTLE_LICENSE_FILES = COPYING.LESSERv3 COPYINGv2
|
|
# don't include openssl support for (unused) examples as it has problems
|
|
# with static linking
|
|
NETTLE_CONF_OPTS = --disable-openssl
|
|
|
|
# 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))
|