Blame view

buildroot/buildroot-2016.08.1/package/nettle/nettle.mk 887 Bytes
6b13f685e   김민수   BSP 최초 추가
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
  ################################################################################
  #
  # nettle
  #
  ################################################################################
  
  NETTLE_VERSION = 3.2
  NETTLE_SITE = http://www.lysator.liu.se/~nisse/archive
  NETTLE_DEPENDENCIES = gmp
  NETTLE_INSTALL_STAGING = YES
  NETTLE_LICENSE = Dual GPLv2+/LGPLv3+
  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
  # For 0002-fix-CVE-2016-6489.patch
  NETTLE_AUTORECONF = YES
  
  # 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))