Skip to content

Commit

Permalink
fixup! cmake: soc: arch: Build immutable bootloader support.
Browse files Browse the repository at this point in the history
Remove linker script define from zephyr CMAKE and pushes and
pops it to the global define instead.

This commit fixes:
nrfconnect/sdk-zephyr#53 (comment)

Signed-off-by: Sigvart Hovland <[email protected]>
  • Loading branch information
sigvartmh committed Nov 27, 2018
1 parent 8c49dca commit 9057055
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -439,7 +439,6 @@ function(construct_add_custom_command_for_linker_pass linker_output_name output_
${current_includes}
${current_defines}
${linker_pass_define}
-DLINKER_OUTPUT_NAME_${linker_output_name} # Used to identify custom linker scripts
-E ${LINKER_SCRIPT}
-P # Prevent generation of debug `#line' directives.
-o ${linker_cmd_file_name}
Expand Down

0 comments on commit 9057055

Please sign in to comment.