mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-08-05 19:35:48 +03:00
Check include/mbedtls exists before including from it
Signed-off-by: Felix Conway <felix.conway@arm.com>
This commit is contained in:
@@ -52,9 +52,11 @@ EOF
|
|||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
|
||||||
|
if [ -d "tf-psa-crypto/include/mbedtls" ]; then
|
||||||
for header in tf-psa-crypto/include/mbedtls/*.h; do
|
for header in tf-psa-crypto/include/mbedtls/*.h; do
|
||||||
echo "#include \"${header#tf-psa-crypto/include/}\""
|
echo "#include \"${header#tf-psa-crypto/include/}\""
|
||||||
done
|
done
|
||||||
|
fi
|
||||||
|
|
||||||
for header in tf-psa-crypto/include/psa/*.h; do
|
for header in tf-psa-crypto/include/psa/*.h; do
|
||||||
case ${header#tf-psa-crypto/include/} in
|
case ${header#tf-psa-crypto/include/} in
|
||||||
|
Reference in New Issue
Block a user