Skip to content

tf-psa-crypto all.sh: make the core manage the build directory #9755

@mpg

Description

@mpg

Depends on: #9720

As of 9720, component in tf-psa-crypto that use out-of-tree CMake build have to manage the build directory themselves:

    TF_PSA_CRYPTO_ROOT_DIR="$PWD"
    mkdir "$OUT_OF_SOURCE_DIR"
    cd "$OUT_OF_SOURCE_DIR"
    # (build and run tests)
    cd "$TF_PSA_CRYPTO_ROOT_DIR"
    rm -rf "$OUT_OF_SOURCE_DIR"

Since most components in tf-psa-crypto are expected to build out-of-tree (actually, all of them except one to check that in-tree builds work), we want to move the above boilerplate to all-core.sh so that the component definition can only include the "build and run tests" part.

Metadata

Metadata

Assignees

Labels

enhancementpriority-highHigh priority - will be reviewed soonsize-sEstimated task size: small (~2d)

Type

No type

Projects

Status

TF-PSA-Crypto all.sh 1 - basic-checks

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions