mirror of https://github.com/ARMmbed/mbed-os.git
CMake ARM: move map to unify with Gcc Arm
parent
f97c7bd957
commit
4e7c7eca7e
|
@ -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(
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue