aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTorsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>2021-03-22 17:14:38 +0100
committerKarl Zhang <karl.zhang@arm.com>2021-03-31 10:45:39 +0200
commiteb7727748a314f0568f1753f9d24f380674f23c2 (patch)
tree385e1198110b21dec558aeee42aca3a9c8a55714
parentd3a91b2b15b641c292b42184024524f96d945ebe (diff)
downloadtrusted-firmware-m-eb7727748a314f0568f1753f9d24f380674f23c2.tar.gz
Build: ensuring TFM_PARTITION_PLATFORM is read as variable in gen-expr
Fixing occurences of $<BOOL:TFM_PARTITION_PLATFORM> by ensuring the value of the variable is used by changing into $<BOOL:${TFM_PARTITION_PLATFORM}>. Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no> Change-Id: I9f044307168496dc5fcf5e00362d5b3b71c2fe4c
-rw-r--r--platform/ext/target/musca_b1/secure_enclave/CMakeLists.txt2
-rw-r--r--platform/ext/target/nordic_nrf/common/nrf5340/CMakeLists.txt2
-rw-r--r--platform/ext/target/nordic_nrf/common/nrf9160/CMakeLists.txt2
-rw-r--r--platform/ext/target/nuvoton/m2351/CMakeLists.txt2
-rw-r--r--platform/ext/target/nuvoton/m2354/CMakeLists.txt2
5 files changed, 5 insertions, 5 deletions
diff --git a/platform/ext/target/musca_b1/secure_enclave/CMakeLists.txt b/platform/ext/target/musca_b1/secure_enclave/CMakeLists.txt
index 865b1dded..961a000e5 100644
--- a/platform/ext/target/musca_b1/secure_enclave/CMakeLists.txt
+++ b/platform/ext/target/musca_b1/secure_enclave/CMakeLists.txt
@@ -78,7 +78,7 @@ target_sources(platform_s
target_cfg.c
tfm_hal_isolation.c
uart_stdout.c
- $<$<BOOL:TFM_PARTITION_PLATFORM>:${CMAKE_CURRENT_SOURCE_DIR}/services/src/tfm_platform_system.c>
+ $<$<BOOL:${TFM_PARTITION_PLATFORM}>:${CMAKE_CURRENT_SOURCE_DIR}/services/src/tfm_platform_system.c>
)
target_link_libraries(platform_s
diff --git a/platform/ext/target/nordic_nrf/common/nrf5340/CMakeLists.txt b/platform/ext/target/nordic_nrf/common/nrf5340/CMakeLists.txt
index 922c9c855..e3888296a 100644
--- a/platform/ext/target/nordic_nrf/common/nrf5340/CMakeLists.txt
+++ b/platform/ext/target/nordic_nrf/common/nrf5340/CMakeLists.txt
@@ -44,7 +44,7 @@ target_sources(platform_s
PRIVATE
target_cfg.c
../core/nrfx/mdk/system_nrf5340_application.c
- $<$<BOOL:TFM_PARTITION_PLATFORM>:${CMAKE_CURRENT_SOURCE_DIR}/services/src/tfm_platform_system.c>
+ $<$<BOOL:${TFM_PARTITION_PLATFORM}>:${CMAKE_CURRENT_SOURCE_DIR}/services/src/tfm_platform_system.c>
)
target_compile_definitions(platform_s
diff --git a/platform/ext/target/nordic_nrf/common/nrf9160/CMakeLists.txt b/platform/ext/target/nordic_nrf/common/nrf9160/CMakeLists.txt
index 00faf8f1a..63ee34b30 100644
--- a/platform/ext/target/nordic_nrf/common/nrf9160/CMakeLists.txt
+++ b/platform/ext/target/nordic_nrf/common/nrf9160/CMakeLists.txt
@@ -44,7 +44,7 @@ target_sources(platform_s
PRIVATE
target_cfg.c
../core/nrfx/mdk/system_nrf9160.c
- $<$<BOOL:TFM_PARTITION_PLATFORM>:${CMAKE_CURRENT_SOURCE_DIR}/services/src/tfm_platform_system.c>
+ $<$<BOOL:${TFM_PARTITION_PLATFORM}>:${CMAKE_CURRENT_SOURCE_DIR}/services/src/tfm_platform_system.c>
)
target_compile_definitions(platform_s
diff --git a/platform/ext/target/nuvoton/m2351/CMakeLists.txt b/platform/ext/target/nuvoton/m2351/CMakeLists.txt
index 3bacf819f..1c04fd04f 100644
--- a/platform/ext/target/nuvoton/m2351/CMakeLists.txt
+++ b/platform/ext/target/nuvoton/m2351/CMakeLists.txt
@@ -101,7 +101,7 @@ target_sources(platform_s
${PLATFORM_DIR}/ext/common/uart_stdout.c
${PLATFORM_DIR}/ext/common/tfm_platform.c
${CMAKE_SOURCE_DIR}/platform/ext/common/tfm_hal_isolation_mpu_v8m.c
- $<$<BOOL:TFM_PARTITION_PLATFORM>:${CMAKE_CURRENT_SOURCE_DIR}/plat_test.c>
+ $<$<BOOL:${TFM_PARTITION_PLATFORM}>:${CMAKE_CURRENT_SOURCE_DIR}/plat_test.c>
)
target_compile_options(platform_s
diff --git a/platform/ext/target/nuvoton/m2354/CMakeLists.txt b/platform/ext/target/nuvoton/m2354/CMakeLists.txt
index 9ffeb7999..1ea4a5920 100644
--- a/platform/ext/target/nuvoton/m2354/CMakeLists.txt
+++ b/platform/ext/target/nuvoton/m2354/CMakeLists.txt
@@ -101,7 +101,7 @@ target_sources(platform_s
${PLATFORM_DIR}/ext/common/uart_stdout.c
${PLATFORM_DIR}/ext/common/tfm_platform.c
${CMAKE_SOURCE_DIR}/platform/ext/common/tfm_hal_isolation_mpu_v8m.c
- $<$<BOOL:TFM_PARTITION_PLATFORM>:${CMAKE_CURRENT_SOURCE_DIR}/plat_test.c>
+ $<$<BOOL:${TFM_PARTITION_PLATFORM}>:${CMAKE_CURRENT_SOURCE_DIR}/plat_test.c>
)
target_compile_options(platform_s