tests: misc: check_init_priorities: check for zephyr_pre1 target
zephyr_pre1 target may not always exists, e.g. if second linking pass is not needed. Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
This commit is contained in:
parent
1ebd76ed51
commit
aedcc0b59d
1 changed files with 3 additions and 1 deletions
|
@ -17,7 +17,9 @@ add_custom_target(
|
|||
${output_file}
|
||||
DEPENDS zephyr_pre0
|
||||
)
|
||||
if (TARGET zephyr_pre1)
|
||||
add_dependencies(zephyr_pre1 check_init_priorities_output)
|
||||
endif()
|
||||
|
||||
project(check_init_priorities)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue