5dfbd227a6
The default armlink signature uses `--list=<TARGET_BASE>.map`, but in Zephyr we uses a different name for the map file, therefore we need to specify a custom link executable signature. This is done in the linker specific flags file: cmake/linker/armlink/linker_flags.cmake Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
7 lines
484 B
CMake
7 lines
484 B
CMake
# The ARMClang linker, armlink, requires a dedicated linking signature in
|
|
# order for Zephyr to control the map file.
|
|
|
|
set(CMAKE_C_LINK_EXECUTABLE "<CMAKE_LINKER> <CMAKE_C_LINK_FLAGS> <LINK_FLAGS> <LINK_LIBRARIES> <OBJECTS> -o <TARGET>")
|
|
set(CMAKE_CXX_LINK_EXECUTABLE "<CMAKE_LINKER> <CMAKE_CXX_LINK_FLAGS> <LINK_FLAGS> <LINK_LIBRARIES> <OBJECTS> -o <TARGET>")
|
|
set(CMAKE_ASM_LINK_EXECUTABLE "<CMAKE_LINKER> <CMAKE_ASM_LINK_FLAGS> <LINK_FLAGS> <LINK_LIBRARIES> <OBJECTS> -o <TARGET>")
|