Skip to content

Commit

Permalink
[nrf noup] cmake: use -DUSE_PARTITION_MANAGER=1 for lld linker script…
Browse files Browse the repository at this point in the history
… template

fixup! [nrf noup] tree-wide: support NCS Partition Manager (PM) definitions

Signed-off-by: Torsten Rasmussen <[email protected]>
  • Loading branch information
tejlmand authored and carlescufi committed Dec 17, 2024
1 parent 9edbdaf commit 7d364d0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmake/linker/lld/target.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ macro(configure_linker_script linker_script_gen linker_pass_define)
-imacros ${AUTOCONF_H}
${current_includes}
${template_script_defines}
-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 7d364d0

Please sign in to comment.