File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -140,7 +140,7 @@ function(mbed_set_mbed_target_linker_script target)
140
140
target_link_options (mbed-core
141
141
INTERFACE
142
142
"-T" "${CMAKE_BINARY_DIR} /${target} .link_script.ld"
143
- "-Wl,-Map=${CMAKE_BINARY_DIR} /${target} .map"
143
+ "-Wl,-Map=${CMAKE_BINARY_DIR} /${target}${CMAKE_EXECUTABLE_SUFFIX} .map"
144
144
)
145
145
elseif (MBED_TOOLCHAIN STREQUAL "ARM" )
146
146
set (CMAKE_PRE_BUILD_COMMAND COMMAND "" )
@@ -203,7 +203,7 @@ function(mbed_generate_map_file target)
203
203
TARGET
204
204
${target}
205
205
POST_BUILD
206
- COMMAND ${Python3_EXECUTABLE} ${MBED_PATH} /tools/memap.py -t ${MBED_TOOLCHAIN} ${CMAKE_BINARY_DIR} /${target}.map
206
+ COMMAND ${Python3_EXECUTABLE} ${MBED_PATH} /tools/memap.py -t ${MBED_TOOLCHAIN} ${CMAKE_BINARY_DIR} /${target}${CMAKE_EXECUTABLE_SUFFIX} .map
207
207
WORKING_DIRECTORY
208
208
${CMAKE_BINARY_DIR}
209
209
COMMENT
You can’t perform that action at this time.
0 commit comments