mirror of
https://github.com/raspberrypi/pico-sdk.git
synced 2026-01-27 17:37:20 +01:00
Remove DEPENDS argument from add_custom_command(TARGET functions (#2489)
This raises a warning with recent CMake versions, and isn't required due to the `pico_add_link_depend` already added for these files Fixes raspberrypi/picotool#235
This commit is contained in:
parent
6860f0d882
commit
6841d4d15b
1 changed files with 0 additions and 3 deletions
|
|
@ -660,7 +660,6 @@ function(picotool_postprocess_binary TARGET)
|
|||
# Embed PT
|
||||
if (picotool_embed_pt)
|
||||
add_custom_command(TARGET ${TARGET} POST_BUILD
|
||||
DEPENDS ${picotool_embed_pt}
|
||||
COMMAND picotool partition create --quiet ${picotool_embed_pt} $<TARGET_FILE:${TARGET}> $<TARGET_FILE:${TARGET}>
|
||||
VERBATIM)
|
||||
endif()
|
||||
|
|
@ -672,7 +671,6 @@ function(picotool_postprocess_binary TARGET)
|
|||
extra_process_args
|
||||
)
|
||||
add_custom_command(TARGET ${TARGET} POST_BUILD
|
||||
DEPENDS ${picotool_sigfile}
|
||||
COMMAND picotool
|
||||
ARGS seal
|
||||
--quiet
|
||||
|
|
@ -700,7 +698,6 @@ function(picotool_postprocess_binary TARGET)
|
|||
endif()
|
||||
|
||||
add_custom_command(TARGET ${TARGET} POST_BUILD
|
||||
DEPENDS ${picotool_enc_sigfile} ${picotool_aesfile} ${picotool_ivfile}
|
||||
COMMAND picotool
|
||||
ARGS encrypt
|
||||
--quiet --hash --sign
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue