soc: stm32n6: CMakelists.txt: Fix signing tool if/else
If/else does fit here. Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
This commit is contained in:
parent
8c415f8e62
commit
329df07a67
1 changed files with 1 additions and 5 deletions
|
@ -22,10 +22,7 @@ if(SIGNING_TOOL_FIND STREQUAL SIGNING_TOOL_FIND-NOTFOUND)
|
|||
Signed image will not be generated.
|
||||
You won't be able to run application on the board.
|
||||
Refer to board documentation for more information")
|
||||
endif()
|
||||
|
||||
if(NOT SIGNING_TOOL_FIND STREQUAL SIGNING_TOOL_FIND-NOTFOUND)
|
||||
|
||||
else()
|
||||
set_property(GLOBAL APPEND PROPERTY extra_post_build_commands
|
||||
COMMAND ${SIGNING_TOOL}
|
||||
-in ${PROJECT_BINARY_DIR}/${CONFIG_KERNEL_BIN_NAME}.bin
|
||||
|
@ -36,5 +33,4 @@ if(NOT SIGNING_TOOL_FIND STREQUAL SIGNING_TOOL_FIND-NOTFOUND)
|
|||
)
|
||||
|
||||
set_property(TARGET runners_yaml_props_target PROPERTY bin_file ${CONFIG_KERNEL_BIN_NAME}.signed.bin)
|
||||
|
||||
endif()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue