Bump buildroot to version 2017-02
TG-3 #closed
This commit is contained in:
@@ -17,4 +17,16 @@ config BR2_PACKAGE_MBEDTLS_PROGRAMS
|
||||
This option enables the installation and the build of
|
||||
mbed TLS companion programs.
|
||||
|
||||
config BR2_PACKAGE_MBEDTLS_COMPRESSION
|
||||
bool "enable compression support"
|
||||
select BR2_PACKAGE_ZLIB
|
||||
help
|
||||
Enable support for compression of the content data before it
|
||||
enters the secure channel as described in RFC 3749.
|
||||
|
||||
Warning: TLS compression may make you vulnerable to the CRIME
|
||||
attack. You should not enable it unless you know for sure CRIME
|
||||
and similar attacks are not applicable to your particular
|
||||
situation.
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
# From https://tls.mbed.org/tech-updates/releases/mbedtls-2.2.1-2.1.4-1.3.16-and-polarssl.1.2.19-released
|
||||
sha256 6ddd5ca2e7dfb43d2fd750400856246fc1c98344dabf01b1594eb2f9880ef7ce mbedtls-2.2.1-apache.tgz
|
||||
# From https://tls.mbed.org/tech-updates/releases/mbedtls-2.3.0-2.1.5-and-1.3.17-released
|
||||
sha256 c1c3559ed39f7a1b1550c4cf4ccb918bf239301a3311d98dda92bed8a25b7f0d mbedtls-2.4.0-apache.tgz
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
################################################################################
|
||||
|
||||
MBEDTLS_SITE = https://tls.mbed.org/code/releases
|
||||
MBEDTLS_VERSION = 2.2.1
|
||||
MBEDTLS_VERSION = 2.4.0
|
||||
MBEDTLS_SOURCE = mbedtls-$(MBEDTLS_VERSION)-apache.tgz
|
||||
MBEDTLS_CONF_OPTS = \
|
||||
-DENABLE_PROGRAMS=$(if $(BR2_PACKAGE_MBEDTLS_PROGRAMS),ON,OFF) \
|
||||
@@ -39,9 +39,14 @@ MBEDTLS_CONF_OPTS += \
|
||||
-DUSE_SHARED_MBEDTLS_LIBRARY=ON -DUSE_STATIC_MBEDTLS_LIBRARY=OFF
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_ZLIB),y)
|
||||
ifeq ($(BR2_PACKAGE_MBEDTLS_COMPRESSION),y)
|
||||
MBEDTLS_CONF_OPTS += -DENABLE_ZLIB_SUPPORT=ON
|
||||
MBEDTLS_DEPENDENCIES += zlib
|
||||
define MBEDTLS_ENABLE_ZLIB
|
||||
$(SED) "s://#define MBEDTLS_ZLIB_SUPPORT:#define MBEDTLS_ZLIB_SUPPORT:" \
|
||||
$(@D)/include/mbedtls/config.h
|
||||
endef
|
||||
MBEDTLS_POST_PATCH_HOOKS += MBEDTLS_ENABLE_ZLIB
|
||||
else
|
||||
MBEDTLS_CONF_OPTS += -DENABLE_ZLIB_SUPPORT=OFF
|
||||
endif
|
||||
@@ -60,7 +65,7 @@ endef
|
||||
# MIPS R6 asm is not yet supported
|
||||
ifeq ($(BR2_ENABLE_DEBUG)$(BR2_ARM_INSTRUCTIONS_THUMB)$(BR2_ARM_INSTRUCTIONS_THUMB2),yy)
|
||||
MBEDTLS_POST_CONFIGURE_HOOKS += MBEDTLS_DISABLE_ASM
|
||||
else ifeq ($(BR2_microblaze)$(BR2_mips_32r6)$(BR2_mips_64r6),y)
|
||||
else ifeq ($(BR2_microblaze)$(BR2_MIPS_CPU_MIPS32R6)$(BR2_MIPS_CPU_MIPS64R6),y)
|
||||
MBEDTLS_POST_CONFIGURE_HOOKS += MBEDTLS_DISABLE_ASM
|
||||
endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user