diff options
author | Beniamin Sandu <beniaminsandu@gmail.com> | 2023-01-27 12:10:29 +0200 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2023-01-27 17:06:52 -0800 |
commit | 4f50432e20698078167124313d25bac85dc63a63 (patch) | |
tree | 64d65fbd5e013b9227c7b5e6fe74b90f05c3d9de /meta-python/recipes-devtools/python/python3-m2crypto/0001-setup.py-link-in-sysroot-not-in-host-directories.patch | |
parent | de569f111160c2e2fc11b6e7f00823b0855a47d5 (diff) | |
download | meta-openembedded-4f50432e20698078167124313d25bac85dc63a63.tar.gz |
mbedtls: export source files/headers needed by ATF
Arm Trusted Firmware uses a list of mbedtls source files/headers to build
a static library used for crypto functionality:
https://github.com/ARM-software/arm-trusted-firmware/blob/master/drivers/auth/mbedtls/mbedtls_common.mk#L10
At the moment, any ATF version that wants to build with yocto and enable
for example secure boot, needs to download and patch a version of mbedtls
separately, e.g. :
https://git.yoctoproject.org/meta-arm/tree/meta-arm/recipes-bsp/trusted-firmware-a/trusted-firmware-a_2.7.0.bb#n10
This commit enables a simple way for ATF recipes to use the existing oe
version of mbedtls by adding it as a dependency, and simply extending the
build flags with:
EXTRA_OEMAKE += 'MBEDTLS_DIR="${STAGING_DATADIR}/mbedtls-source"'
Signed-off-by: Beniamin Sandu <beniaminsandu@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-m2crypto/0001-setup.py-link-in-sysroot-not-in-host-directories.patch')
0 files changed, 0 insertions, 0 deletions