mirror of
https://github.com/Mbed-TLS/mbedtls-framework.git
synced 2026-09-02 16:29:54 +00:00
Fix some documentation in build_tree.py
Signed-off-by: Ronald Cron <[email protected]>
This commit is contained in:
@@ -73,10 +73,10 @@ def check_repo_path():
|
||||
raise Exception("This script must be run from Mbed TLS root")
|
||||
|
||||
def chdir_to_root() -> None:
|
||||
"""Detect the root of the Mbed TLS source tree and change to it.
|
||||
"""Detect the root of the Mbed TLS or TF-PSA-Crypto source tree and change to it.
|
||||
|
||||
The current directory must be up to two levels deep inside an Mbed TLS
|
||||
source tree.
|
||||
The current directory must be up to two levels deep inside an Mbed TLS or
|
||||
TF-PSA-Crypto source tree.
|
||||
"""
|
||||
for d in [os.path.curdir,
|
||||
os.path.pardir,
|
||||
@@ -84,7 +84,7 @@ def chdir_to_root() -> None:
|
||||
if looks_like_root(d):
|
||||
os.chdir(d)
|
||||
return
|
||||
raise Exception('Mbed TLS source tree not found')
|
||||
raise Exception('Mbed TLS or TF-PSA-Crypto source tree not found')
|
||||
|
||||
def guess_project_root():
|
||||
"""Guess project source code directory.
|
||||
|
||||
Reference in New Issue
Block a user