-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add various configuration components #151
Add various configuration components #151
Conversation
7ebfae7
to
1bd7e54
Compare
1bd7e54
to
815aac7
Compare
815aac7
to
c9df6f6
Compare
c9df6f6
to
4666429
Compare
89d9656
to
795636d
Compare
776dd16
to
1c7c66a
Compare
################################################################ | ||
|
||
component_tf_psa_crypto_test_default_out_of_box () { | ||
msg "build: make, default config (out-of-box)" # ~1min |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it should be:
msg "build: make, default config (out-of-box)" # ~1min | |
msg "build: cmake, default config (out-of-box)" # ~1min |
but actually I have a question about this: specifying cmake
made sense in the main repo because there you can either build with make
or cmake
, but in tf-psa-crypto
there's only 1 option and that's cmake
. Can't we just fix all the message strings in this file by removing cmake?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, I think that is a better solution since it is just not necessary in a single build system project.
# TF-M configuration needs a TF-M platform. A tweaked version of | ||
# the configuration that works on mainstream platforms is in | ||
# configs/config-tfm.h, tested via test-ref-configs.pl. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think that the last part of this sentence should be removed:
# TF-M configuration needs a TF-M platform. A tweaked version of | |
# the configuration that works on mainstream platforms is in | |
# configs/config-tfm.h, tested via test-ref-configs.pl. | |
# TF-M configuration needs a TF-M platform. |
because it looks like a leftover from when this test component is executed from the main repo. In the tf-psa-crypto
there's no configs/config-tfm.h
as far as I can see.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I only have some minor comments, but the PR looks almost OK to me.
1c7c66a
to
055e3c5
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good to me, just spotted some remaining references to "make" in logs.
74d8a64
to
784627d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks.
784627d
to
aaf836a
Compare
Restore test crypto configuration files in the state they were in Mbed TLS just before the split as in the merge of PR 9809, commit Signed-off-by: Harry Ramsey <[email protected]>
This commit updates the documentation for user-config-for-test.h due to it being moved to TF-PSA-Crypto. Signed-off-by: Harry Ramsey <[email protected]>
This commit adds various configuration components to TF-PSA-Crypto. These components have been adapted from Mbed TLS to use CMake. Signed-off-by: Harry Ramsey <[email protected]>
This commit adds a new cmake flag to the build_tfm component in components-configuration.sh. The purpose of the flag is to disable CMake compiler tests since it will always try to build an executable which will always fail on linking due to architecture mismatch. Signed-off-by: Harry Ramsey <[email protected]>
This commit removes multiple unnecessary C flags from components-configuration and replaces some with CMake build types. Signed-off-by: Harry Ramsey <[email protected]>
This commit adds a new component test_default_no_deprecated to components-configuration.sh. Signed-off-by: Harry Ramsey <[email protected]>
This commit removes references to cmake in the echo messages since TF-PSA-Crypto has only a CMake build system. Signed-off-by: Harry Ramsey <[email protected]>
aaf836a
to
7a8ff01
Compare
This commit adds various configuration components to TF-PSA-Crypto. These components have been adapted from Mbed TLS to use CMake. Closes #125.
This pull request has a dependency on: #164
PR checklist