Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions scripts/all-core.sh
Original file line number Diff line number Diff line change
Expand Up @@ -933,6 +933,14 @@ pseudo_component_error_test () {
false "this should not be executed"
}

# On our CI, we do some hacky stuff with git submodules, and some
# submodules might be missing.
clone_any_missing_submodules () {
script='IFS="
"; sm=$(git submodule status | sed -n "s/^-[^ ]* //p"); if [ ! -z "$sm" ]; then git submodule update --init $sm; fi'
(eval "$script") && git submodule foreach --recursive "$script"
}

# Run one component and clean up afterwards.
run_component () {
current_component="$1"
Expand Down Expand Up @@ -960,6 +968,8 @@ run_component () {
pre_create_tf_psa_crypto_out_of_source_directory
fi

clone_any_missing_submodules

# Run the component in a subshell, with error trapping and output
# redirection set up based on the relevant options.
if [ $KEEP_GOING -eq 1 ]; then
Expand Down
1 change: 1 addition & 0 deletions scripts/mbedtls_framework/psa_storage.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ def update_cache(self) -> None:
includes.append('drivers/builtin/include')
includes.append('drivers/everest/include')
includes.append('drivers/everest/include/tf-psa-crypto/private/')
includes.append('drivers/pqcp/include')
elif not build_tree.is_mbedtls_3_6():
includes.append('tf-psa-crypto/include')
includes.append('tf-psa-crypto/drivers/builtin/include')
Expand Down
1 change: 1 addition & 0 deletions scripts/test_psa_constant_names.py
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,7 @@ def main():
'tf-psa-crypto/drivers/everest/include',
'tf-psa-crypto/drivers/everest/include/' +
'tf-psa-crypto/private',
'tf-psa-crypto/drivers/pqcp/include',
'include'],
help='Directory for header files')
parser.add_argument('--keep-c',
Expand Down