Skip to content

Commit c24364e

Browse files
nordicjmanangl
authored andcommitted
[nrf noup] cmake: linker: ld: target: Remove child/parent image flag
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]> (cherry picked from commit 20a2ba2)
1 parent d8d0421 commit c24364e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmake/linker/ld/target.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ macro(configure_linker_script linker_script_gen linker_pass_define)
8585
${current_includes}
8686
${soc_linker_script_includes}
8787
${template_script_defines}
88-
-DUSE_PARTITION_MANAGER=$<OR:$<BOOL:${CONFIG_PARTITION_MANAGER_ENABLED}>,$<BOOL:${IMAGE_NAME}>,$<TARGET_EXISTS:partition_manager>>
88+
-DUSE_PARTITION_MANAGER=$<BOOL:${CONFIG_PARTITION_MANAGER_ENABLED}>
8989
-E ${LINKER_SCRIPT}
9090
-P # Prevent generation of debug `#line' directives.
9191
-o ${linker_script_gen}

0 commit comments

Comments
 (0)