File tree Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -216,7 +216,7 @@ function(mbed_generate_map_file target)
216
216
TARGET
217
217
${target}
218
218
POST_BUILD
219
- COMMAND ${Python3_EXECUTABLE} ${MBED_PATH } /tools/memap.py -t ${MBED_TOOLCHAIN} ${CMAKE_CURRENT_BINARY_DIR} /${target}${CMAKE_EXECUTABLE_SUFFIX}.map
219
+ COMMAND ${Python3_EXECUTABLE} ${mbed-os_SOURCE_DIR }/tools/memap.py -t ${MBED_TOOLCHAIN} ${CMAKE_CURRENT_BINARY_DIR} /${target}${CMAKE_EXECUTABLE_SUFFIX}.map
220
220
WORKING_DIRECTORY
221
221
${CMAKE_CURRENT_BINARY_DIR}
222
222
COMMENT
Original file line number Diff line number Diff line change @@ -12,11 +12,11 @@ include(${MBED_CONFIG_PATH}/mbed_config.cmake)
12
12
# Load toolchain file
13
13
if (NOT CMAKE_TOOLCHAIN_FILE OR MBED_TOOLCHAIN_FILE_USED )
14
14
set (MBED_TOOLCHAIN_FILE_USED TRUE CACHE INTERNAL "" )
15
- include (${MBED_PATH } /tools/cmake/toolchain.cmake )
15
+ include (${mbed-os_SOURCE_DIR }/tools/cmake/toolchain.cmake )
16
16
endif ()
17
17
18
18
# Specify available build profiles and add options for the selected build profile
19
- include (${MBED_PATH } /tools/cmake/profile.cmake )
19
+ include (${mbed-os_SOURCE_DIR }/tools/cmake/profile.cmake )
20
20
21
21
enable_language (C CXX ASM )
22
22
Original file line number Diff line number Diff line change 3
3
4
4
set (MBED_CONFIG_PATH ${CMAKE_CURRENT_BINARY_DIR} CACHE INTERNAL "" )
5
5
6
- include (${MBED_PATH } /tools/cmake/app.cmake )
6
+ include (${mbed-os_SOURCE_DIR }/tools/cmake/app.cmake )
7
7
8
8
# CMake Macro for generalizing CMake configuration across the greentea test suite with configurable parameters
9
9
# Macro args:
@@ -37,7 +37,7 @@ macro(mbed_greentea_add_test)
37
37
38
38
set (TEST_NAME ${MBED_GREENTEA_TEST_NAME} )
39
39
40
- add_subdirectory (${MBED_PATH } build )
40
+ add_subdirectory (${mbed-os_SOURCE_DIR } build )
41
41
42
42
add_executable (${TEST_NAME} )
43
43
Original file line number Diff line number Diff line change 29
29
endif ()
30
30
endif ()
31
31
32
- include (${MBED_PATH } /tools/cmake/profiles/${LOWERCASE_CMAKE_BUILD_TYPE}.cmake )
32
+ include (${mbed-os_SOURCE_DIR }/tools/cmake/profiles/${LOWERCASE_CMAKE_BUILD_TYPE}.cmake )
You can’t perform that action at this time.
0 commit comments