mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2024-12-27 12:16:07 +00:00
Adjust more paths to Mbed TLS crypto headers
Signed-off-by: Ronald Cron <ronald.cron@arm.com>
This commit is contained in:
parent
52cc858aec
commit
f4606d489e
@ -45,6 +45,13 @@ EOF
|
|||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
|
||||||
|
for header in tf-psa-crypto/drivers/builtin/include/mbedtls/*.h; do
|
||||||
|
case ${header#tf-psa-crypto/drivers/builtin/include/} in
|
||||||
|
mbedtls/config_*.h) :;; # not meant for direct inclusion
|
||||||
|
*) echo "#include \"${header#tf-psa-crypto/drivers/builtin/include/}\"";;
|
||||||
|
esac
|
||||||
|
done
|
||||||
|
|
||||||
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
|
||||||
psa/crypto_config.h) :;; # not meant for direct inclusion
|
psa/crypto_config.h) :;; # not meant for direct inclusion
|
||||||
|
@ -161,7 +161,9 @@ TEST_SUITES = ['tests/suites/test_suite_psa_crypto_metadata.data']
|
|||||||
def main():
|
def main():
|
||||||
parser = argparse.ArgumentParser(description=globals()['__doc__'])
|
parser = argparse.ArgumentParser(description=globals()['__doc__'])
|
||||||
parser.add_argument('--include', '-I',
|
parser.add_argument('--include', '-I',
|
||||||
action='append', default=['tf-psa-crypto/include', 'include'],
|
action='append', default=['tf-psa-crypto/include',
|
||||||
|
'tf-psa-crypto/drivers/builtin/include',
|
||||||
|
'include'],
|
||||||
help='Directory for header files')
|
help='Directory for header files')
|
||||||
parser.add_argument('--keep-c',
|
parser.add_argument('--keep-c',
|
||||||
action='store_true', dest='keep_c', default=False,
|
action='store_true', dest='keep_c', default=False,
|
||||||
|
Loading…
Reference in New Issue
Block a user