Introduce guess_mbedtls_root
Signed-off-by: Thomas Daubney <thomas.daubney@arm.com>
This commit is contained in:
parent
56bee0344e
commit
d1f2934e78
2 changed files with 15 additions and 4 deletions
|
@ -367,7 +367,7 @@ def generate_ssl_debug_helpers(output_directory, mbedtls_root):
|
|||
Generate functions of debug helps
|
||||
"""
|
||||
mbedtls_root = os.path.abspath(
|
||||
mbedtls_root or build_tree.guess_project_root())
|
||||
mbedtls_root or build_tree.guess_mbedtls_root())
|
||||
with open(os.path.join(mbedtls_root, 'include/mbedtls/ssl.h')) as f:
|
||||
source_code = remove_c_comments(f.read())
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue