2013-06-21 00:17:14 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# nettle
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2016-10-02 14:20:49 +02:00
|
|
|
NETTLE_VERSION = 3.3
|
2012-12-28 11:01:08 +01:00
|
|
|
NETTLE_SITE = http://www.lysator.liu.se/~nisse/archive
|
|
|
|
NETTLE_DEPENDENCIES = gmp
|
|
|
|
NETTLE_INSTALL_STAGING = YES
|
2015-10-05 16:25:41 +02:00
|
|
|
NETTLE_LICENSE = Dual GPLv2+/LGPLv3+
|
|
|
|
NETTLE_LICENSE_FILES = COPYING.LESSERv3 COPYINGv2
|
2013-11-06 11:53:43 +01:00
|
|
|
# don't include openssl support for (unused) examples as it has problems
|
|
|
|
# with static linking
|
2014-09-27 21:32:44 +02:00
|
|
|
NETTLE_CONF_OPTS = --disable-openssl
|
2012-12-28 11:01:08 +01:00
|
|
|
|
2013-04-28 04:31:24 +02:00
|
|
|
# ARM assembly requires v6+ ISA
|
2016-07-25 02:15:59 +02:00
|
|
|
ifeq ($(BR2_ARM_CPU_ARMV4)$(BR2_ARM_CPU_ARMV5)$(BR2_ARM_CPU_ARMV7M),y)
|
2014-09-27 21:32:44 +02:00
|
|
|
NETTLE_CONF_OPTS += --disable-assembler
|
2013-04-28 04:31:24 +02:00
|
|
|
endif
|
|
|
|
|
2015-10-05 16:25:41 +02:00
|
|
|
ifeq ($(BR2_ARM_CPU_HAS_NEON),y)
|
2014-09-27 21:32:44 +02:00
|
|
|
NETTLE_CONF_OPTS += --enable-arm-neon
|
2013-04-28 04:31:24 +02:00
|
|
|
else
|
2014-09-27 21:32:44 +02:00
|
|
|
NETTLE_CONF_OPTS += --disable-arm-neon
|
2013-04-28 04:31:24 +02:00
|
|
|
endif
|
|
|
|
|
2012-12-28 11:01:08 +01:00
|
|
|
$(eval $(autotools-package))
|