1# SPDX-License-Identifier: Apache-2.0 2# 3# Copyright (c) 2024, Nordic Semiconductor ASA 4 5# Template file for optional Zephyr linker macros. 6# 7# This file will define optional linker macros for toolchains that are not 8# defining these macros themselves. 9 10if(NOT COMMAND toolchain_linker_finalize) 11 macro(toolchain_linker_finalize) 12 endmacro() 13endif() 14 15if(NOT COMMAND toolchain_linker_add_compiler_options) 16 17 # If the linker doesn't provide a method for mapping compiler options 18 # to linker options, then assume we can't. This matters when the linker 19 # is using additional flags when computing toolchain library paths. 20 21 function(toolchain_linker_add_compiler_options) 22 endfunction() 23endif() 24