We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 544e5b9 commit e88e114Copy full SHA for e88e114
CMakeLists.txt
@@ -128,7 +128,8 @@ add_subdirectory(cmsis/device/rtos EXCLUDE_FROM_ALL)
128
# preventing CMake from working its usage requirements magic and forcing us to set the linker
129
# script globally.
130
#
131
-# keep cmake naming convention in targets, using lowercase with dashes
+# Keep our CMake naming in targets as well: using lowercase with dashes + prefixed with mbed-
132
+# Tools can keep targets.json naming, we translate here for linking
133
string(TOLOWER ${MBED_TARGET} MBED_TARGET_CONVERTED)
134
string(REPLACE "_" "-" MBED_TARGET_CONVERTED ${MBED_TARGET_CONVERTED})
135
string(PREPEND MBED_TARGET_CONVERTED "mbed-")
0 commit comments