Skip to content

Commit

Permalink
[nrf noup] cmake: linker: ld: target: Remove child/parent image flag
Browse files Browse the repository at this point in the history
fixup! [nrf noup] tree-wide: support NCS Partition Manager (PM) definitions

Removes a condition in the partition manager enabled check which
was for child/parent images and keeps the sysbuild one only

Signed-off-by: Jamie McCrae <[email protected]>
  • Loading branch information
nordicjm committed Dec 12, 2024
1 parent ff95eb6 commit cd136d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/linker/ld/target.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ macro(configure_linker_script linker_script_gen linker_pass_define)
${current_includes}
${soc_linker_script_includes}
${template_script_defines}
-DUSE_PARTITION_MANAGER=$<OR:$<BOOL:${CONFIG_PARTITION_MANAGER_ENABLED}>,$<BOOL:${IMAGE_NAME}>,$<TARGET_EXISTS:partition_manager>>
-DUSE_PARTITION_MANAGER=$<BOOL:${CONFIG_PARTITION_MANAGER_ENABLED}>
-E ${LINKER_SCRIPT}
-P # Prevent generation of debug `#line' directives.
-o ${linker_script_gen}
Expand Down

0 comments on commit cd136d0

Please sign in to comment.