cmake: reports: Add support for JSON prefix

Adds support for prefixing files with the target of bl2 or tfm

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
This commit is contained in:
Jamie McCrae 2025-01-30 12:33:13 +00:00 committed by Benjamin Cabé
commit f80446973a

View file

@ -40,6 +40,7 @@ if (CONFIG_BUILD_WITH_TFM)
-o ${CMAKE_BINARY_DIR}
${workspace_arg}
-d ${report_depth}
--json tfm_${report}.json
${flag_for_${report}}
DEPENDS tfm
USES_TERMINAL
@ -59,6 +60,7 @@ if (CONFIG_TFM_BL2)
-o ${CMAKE_BINARY_DIR}
${workspace_arg}
-d ${report_depth}
--json bl2_${report}.json
${flag_for_${report}}
DEPENDS tfm
USES_TERMINAL