1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-08-01 10:06:53 +03:00

Check include/mbedtls exists before including from it

Signed-off-by: Felix Conway <felix.conway@arm.com>
This commit is contained in:
Felix Conway
2025-04-17 10:24:20 +01:00
parent dc6f6ec354
commit 61bd2729b2

View File

@ -52,9 +52,11 @@ EOF
esac
done
for header in tf-psa-crypto/include/mbedtls/*.h; do
echo "#include \"${header#tf-psa-crypto/include/}\""
done
if [ -d "tf-psa-crypto/include/mbedtls" ]; then
for header in tf-psa-crypto/include/mbedtls/*.h; do
echo "#include \"${header#tf-psa-crypto/include/}\""
done
fi
for header in tf-psa-crypto/include/psa/*.h; do
case ${header#tf-psa-crypto/include/} in