mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-08-08 17:42:09 +03:00
Adjust more paths to PSA headers
Signed-off-by: Ronald Cron <ronald.cron@arm.com>
This commit is contained in:
@@ -37,10 +37,16 @@ print_cpp () {
|
||||
|
||||
EOF
|
||||
|
||||
for header in include/mbedtls/*.h include/psa/*.h; do
|
||||
for header in include/mbedtls/*.h; do
|
||||
case ${header#include/} in
|
||||
mbedtls/mbedtls_config.h) :;; # not meant for direct inclusion
|
||||
mbedtls/config_*.h) :;; # not meant for direct inclusion
|
||||
*) echo "#include \"${header#include/}\"";;
|
||||
esac
|
||||
done
|
||||
|
||||
for header in tf-psa-crypto/include/psa/*.h; do
|
||||
case ${header#tf-psa-crypto/include/} in
|
||||
psa/crypto_config.h) :;; # not meant for direct inclusion
|
||||
psa/crypto_ajdust_config*.h) :;; # not meant for direct inclusion
|
||||
# Some of the psa/crypto_*.h headers are not meant to be included
|
||||
@@ -48,7 +54,7 @@ EOF
|
||||
# psa/crypto.h has been included before. Since psa/crypto.h comes
|
||||
# before psa/crypto_*.h in the wildcard enumeration, we don't need
|
||||
# to skip those headers.
|
||||
*) echo "#include \"${header#include/}\"";;
|
||||
*) echo "#include \"${header#tf-psa-crypto/include/}\"";;
|
||||
esac
|
||||
done
|
||||
|
||||
|
Reference in New Issue
Block a user