2017-03-31 15:18:46 +00:00
|
|
|
modules-$(CONFIG_MBEDTLS) += mbedtls
|
2016-08-02 23:25:47 +00:00
|
|
|
|
2017-03-27 10:41:13 +00:00
|
|
|
mbedtls_version := 2.4.2
|
2016-12-28 17:45:12 +00:00
|
|
|
mbedtls_dir := mbedtls-$(mbedtls_version)
|
2016-08-02 23:25:47 +00:00
|
|
|
mbedtls_tar := mbedtls-$(mbedtls_version)-gpl.tgz
|
2016-08-03 03:25:34 +00:00
|
|
|
mbedtls_url := https://tls.mbed.org/download/$(mbedtls_tar)
|
2017-03-27 10:41:13 +00:00
|
|
|
mbedtls_hash := d01f2d5586a52055329d194d909103f445bd2d0b6b2b5f1c830fbf828ac6299f
|
2016-08-02 23:25:47 +00:00
|
|
|
|
2017-03-29 19:15:03 +00:00
|
|
|
mbedtls_libraries := library/libmbedcrypto.so.0
|
2016-09-10 21:36:36 +00:00
|
|
|
|
2016-08-02 23:25:47 +00:00
|
|
|
mbedtls_configure :=
|
2017-03-29 19:15:03 +00:00
|
|
|
|
2016-12-29 23:23:08 +00:00
|
|
|
mbedtls_target := \
|
|
|
|
SHARED=1 \
|
|
|
|
DESTDIR=$(INSTALL) \
|
2017-04-08 17:23:34 +00:00
|
|
|
$(CROSS_TOOLS) \
|
2017-03-21 18:29:07 +00:00
|
|
|
$(MAKE_JOBS) \
|
2016-12-29 23:23:08 +00:00
|
|
|
install
|
|
|
|
|
|
|
|
mbedtls_depends := $(musl_dep)
|