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)
|
2022-06-17 14:13:26 +00:00
|
|
|
mbedtls_tar := mbedtls-$(mbedtls_version).tar.gz
|
|
|
|
mbedtls_url := https://github.com/ARMmbed/mbedtls/archive/$(mbedtls_tar)
|
|
|
|
mbedtls_hash := b7afab6a0f86e29c6055848b70d183c4e2531cb0ec955b66c0e4e1b7e4954bf4
|
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 \
|
2023-03-01 16:12:46 +00:00
|
|
|
CFLAGS="-Os" \
|
2016-12-29 23:23:08 +00:00
|
|
|
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)
|