CMake ARM: move map to unify with Gcc Arm

pull/13985/head
Martin Kojtal 2020-12-01 19:04:32 +00:00
parent f97c7bd957
commit 4e7c7eca7e
2 changed files with 1 additions and 4 deletions

View File

@ -152,6 +152,7 @@ function(mbed_set_mbed_target_linker_script target)
INTERFACE
"--scatter=${mbed_target_linker_script}"
"--predefine=${_linker_preprocess_definitions}"
"--map"
)
endif()
add_custom_command(

View File

@ -39,10 +39,6 @@ function(mbed_set_toolchain_options target)
$<$<COMPILE_LANGUAGE:ASM>:--target=arm-arm-none-eabi -masm=auto>
)
list(APPEND link_options
"--map"
)
# Add linking time preprocessor macro for TFM targets
if(MBED_CPU_CORE MATCHES "\-NS$")
list(APPEND link_options