Skip to content

Commit 04092f4

Browse files
nordicjmfabiobaltieri
authored andcommitted
cmake: reports: Fix file prefix for tfm/bl2
Fixes the prefix for these files to not have _report in them Signed-off-by: Jamie McCrae <[email protected]>
1 parent 548f6c2 commit 04092f4

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

cmake/reports/CMakeLists.txt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,9 @@ add_custom_target(
3535
)
3636

3737
if(CONFIG_BUILD_WITH_TFM)
38-
foreach(report ram_report rom_report)
38+
foreach(report ram rom)
3939
add_custom_target(
40-
tfm_${report}
40+
tfm_${report}_report
4141
${PYTHON_EXECUTABLE}
4242
${ZEPHYR_BASE}/scripts/footprint/size_report
4343
-k $<TARGET_PROPERTY:tfm,TFM_S_ELF_FILE>
@@ -46,7 +46,7 @@ if(CONFIG_BUILD_WITH_TFM)
4646
${workspace_arg}
4747
-d ${report_depth}
4848
--json tfm_${report}.json
49-
${flag_for_${report}}
49+
${flag_for_${report}_report}
5050
DEPENDS tfm
5151
USES_TERMINAL
5252
WORKING_DIRECTORY ${CMAKE_BINARY_DIR}
@@ -60,9 +60,9 @@ if(CONFIG_BUILD_WITH_TFM)
6060
endif()
6161

6262
if(CONFIG_TFM_BL2)
63-
foreach(report ram_report rom_report)
63+
foreach(report ram rom)
6464
add_custom_target(
65-
bl2_${report}
65+
bl2_${report}_report
6666
${PYTHON_EXECUTABLE}
6767
${ZEPHYR_BASE}/scripts/footprint/size_report
6868
-k $<TARGET_PROPERTY:tfm,BL2_ELF_FILE>
@@ -71,7 +71,7 @@ if(CONFIG_TFM_BL2)
7171
${workspace_arg}
7272
-d ${report_depth}
7373
--json bl2_${report}.json
74-
${flag_for_${report}}
74+
${flag_for_${report}_report}
7575
DEPENDS tfm
7676
USES_TERMINAL
7777
WORKING_DIRECTORY ${CMAKE_BINARY_DIR}

0 commit comments

Comments
 (0)