Update location of TFM config files
Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
This commit is contained in:
parent
5f573f8301
commit
eaa1c5619a
1 changed files with 9 additions and 5 deletions
|
@ -3851,8 +3851,8 @@ support_build_tfm_armcc () {
|
||||||
|
|
||||||
component_build_tfm_armcc() {
|
component_build_tfm_armcc() {
|
||||||
# test the TF-M configuration can build cleanly with various warning flags enabled
|
# test the TF-M configuration can build cleanly with various warning flags enabled
|
||||||
cp configs/tfm_mbedcrypto_config_profile_medium.h "$CONFIG_H"
|
cp configs/ext/tfm_mbedcrypto_config_profile_medium.h "$CONFIG_H"
|
||||||
cp configs/crypto_config_profile_medium.h "$CRYPTO_CONFIG_H"
|
cp configs/ext/crypto_config_profile_medium.h "$CRYPTO_CONFIG_H"
|
||||||
|
|
||||||
msg "build: TF-M config, armclang armv7-m thumb2"
|
msg "build: TF-M config, armclang armv7-m thumb2"
|
||||||
make clean
|
make clean
|
||||||
|
@ -3860,9 +3860,13 @@ component_build_tfm_armcc() {
|
||||||
}
|
}
|
||||||
|
|
||||||
component_build_tfm() {
|
component_build_tfm() {
|
||||||
# test the TF-M configuration can build cleanly with various warning flags enabled
|
# Check that the TF-M configuration can build cleanly with various
|
||||||
cp configs/tfm_mbedcrypto_config_profile_medium.h "$CONFIG_H"
|
# warning flags enabled. We don't build or run tests, since the
|
||||||
cp configs/crypto_config_profile_medium.h "$CRYPTO_CONFIG_H"
|
# 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.
|
||||||
|
cp configs/ext/tfm_mbedcrypto_config_profile_medium.h "$CONFIG_H"
|
||||||
|
cp configs/ext/crypto_config_profile_medium.h "$CRYPTO_CONFIG_H"
|
||||||
|
|
||||||
msg "build: TF-M config, clang, armv7-m thumb2"
|
msg "build: TF-M config, clang, armv7-m thumb2"
|
||||||
make lib CC="clang" CFLAGS="--target=arm-linux-gnueabihf -march=armv7-m -mthumb -Os -std=c99 -Werror -Wall -Wextra -Wwrite-strings -Wpointer-arith -Wimplicit-fallthrough -Wshadow -Wvla -Wformat=2 -Wno-format-nonliteral -Wshadow -Wasm-operand-widths -Wunused"
|
make lib CC="clang" CFLAGS="--target=arm-linux-gnueabihf -march=armv7-m -mthumb -Os -std=c99 -Werror -Wall -Wextra -Wwrite-strings -Wpointer-arith -Wimplicit-fallthrough -Wshadow -Wvla -Wformat=2 -Wno-format-nonliteral -Wshadow -Wasm-operand-widths -Wunused"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue