CMake: fix wording in naming

Co-authored-by: Hugues Kamba <41612201+hugueskamba@users.noreply.github.com>
pull/14255/head
Martin Kojtal 2021-02-10 12:15:48 +00:00 committed by GitHub
parent ef98060d94
commit b9990089eb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -128,7 +128,7 @@ add_subdirectory(cmsis/device/rtos EXCLUDE_FROM_ALL)
# preventing CMake from working its usage requirements magic and forcing us to set the linker
# script globally.
#
# Ensure the words that make up the Mbed target name are separated with an hyphen, lowercase, and with the `mbed-` prefix.
# Ensure the words that make up the Mbed target name are separated with a hyphen, lowercase, and with the `mbed-` prefix.
string(TOLOWER ${MBED_TARGET} MBED_TARGET_CONVERTED)
string(REPLACE "_" "-" MBED_TARGET_CONVERTED ${MBED_TARGET_CONVERTED})
string(PREPEND MBED_TARGET_CONVERTED "mbed-")

View File

@ -103,7 +103,7 @@ Notes:
## Naming convention
- `mbed` namespace: Mbed CMake targets must have `mbed` prefix
- `mbed` namespace: Mbed CMake targets must have `mbed-` prefix
- all characters are lower case
- words separated by hyphens