python-werkzeug: bump to version 0.11.15
[buildroot-gz.git] / package / polarssl / polarssl.mk
blob7f4c5827a057bf83b0a14ef7b337f3bac6ade579
1 ################################################################################
3 # polarssl
5 ################################################################################
7 POLARSSL_SITE = https://tls.mbed.org/code/releases
8 POLARSSL_VERSION = 1.2.19
9 POLARSSL_SOURCE = polarssl-$(POLARSSL_VERSION)-gpl.tgz
10 POLARSSL_CONF_OPTS = \
11 -DENABLE_PROGRAMS=$(if $(BR2_PACKAGE_POLARSSL_PROGRAMS),ON,OFF)
13 POLARSSL_INSTALL_STAGING = YES
14 POLARSSL_LICENSE = GPLv2
15 POLARSSL_LICENSE_FILES = LICENSE
17 define POLARSSL_DISABLE_ASM
18 $(SED) '/^#define POLARSSL_HAVE_ASM/d' $(@D)/include/polarssl/config.h
19 endef
21 # ARM in thumb mode breaks debugging with asm optimizations
22 # Microblaze asm optimizations are broken in general
23 # MIPS R6 asm is not yet supported
24 ifeq ($(BR2_ENABLE_DEBUG)$(BR2_ARM_INSTRUCTIONS_THUMB)$(BR2_ARM_INSTRUCTIONS_THUMB2),yy)
25 POLARSSL_POST_CONFIGURE_HOOKS += POLARSSL_DISABLE_ASM
26 else ifeq ($(BR2_microblaze),y)
27 POLARSSL_POST_CONFIGURE_HOOKS += POLARSSL_DISABLE_ASM
28 else ifeq ($(BR2_MIPS_CPU_MIPS32R6)$(BR2_MIPS_CPU_MIPS64R6),y)
29 POLARSSL_POST_CONFIGURE_HOOKS += POLARSSL_DISABLE_ASM
30 endif
32 $(eval $(cmake-package))