Commit 329df07a authored by Erwan Gouriou's avatar Erwan Gouriou Committed by Fabio Baltieri
Browse files

soc: stm32n6: CMakelists.txt: Fix signing tool if/else



If/else does fit here.

Signed-off-by: default avatarErwan Gouriou <erwan.gouriou@st.com>
parent 8c415f8e
Loading
Loading
Loading
Loading
+1 −5
Original line number Diff line number Diff line
@@ -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()