Port of mbed TLS
Thanks to Menno Valkema for the initial patch. Fixes #17
This commit is contained in:
committed by
Norman Feske
parent
3c25710f43
commit
10a42e8c14
1
ports/mbedtls.hash
Normal file
1
ports/mbedtls.hash
Normal file
@@ -0,0 +1 @@
|
||||
765fd44768c0859569deb3417c3d7f26d0440e14
|
||||
18
ports/mbedtls.port
Normal file
18
ports/mbedtls.port
Normal file
@@ -0,0 +1,18 @@
|
||||
LICENSE := Apache
|
||||
VERSION := 2.2.0
|
||||
DOWNLOADS := mbedtls.archive
|
||||
|
||||
URL(mbedtls) := https://tls.mbed.org/download/mbedtls-2.2.0-apache.tgz
|
||||
SHA(mbedtls) := eceecfc82cbdea8f91ce416489e0f6fee964049c
|
||||
DIR(mbedtls) := src/lib/mbedtls
|
||||
|
||||
DIRS := include/mbedtls
|
||||
DIR_CONTENT(include/mbedtls) := ${DIR(mbedtls)}/include/mbedtls
|
||||
|
||||
default: patch_config.h
|
||||
patch_config.h: _dirs
|
||||
patch_config.h:
|
||||
$(VERBOSE)sed -i 's:^//#define MBEDTLS_NO_PLATFORM_ENTROPY:#define MBEDTLS_NO_PLATFORM_ENTROPY:' \
|
||||
include/mbedtls/mbedtls/config.h
|
||||
$(VERBOSE)sed -i 's:^#define MBEDTLS_HAVE_TIME_DATE://#define MBEDTLS_HAVE_TIME_DATE:' \
|
||||
include/mbedtls/mbedtls/config.h
|
||||
Reference in New Issue
Block a user