Skip to content

Commit f22f8b3

Browse files
authored
OOB_5.12 Clarification regarding label directories (#1021)
* Update build_rules.md * Update based on Jimmy's input. * Update build_rules.md * Update build_rules.md * Update build_rules.md
1 parent f9f3dcf commit f22f8b3

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docs/reference/build_rules.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,10 @@ Label directories are directories that follow a naming convention: an upper case
3030
- `COMPONENT`, controlled from the configuration value `target.components`.
3131
- `TOOLCHAIN`, controlled completely by the toolchain used to build.
3232

33+
The Mbed OS build tools skip all label directories, unless you configure them explicitly, as described above.
34+
35+
For more information about using, extending, and removing labels, see [Adding and configuring targets](../reference/adding-and-configuring-targets.html#extra-labels-extra-labels-add-and-extra-labels-remove).
36+
3337
#### Target directories
3438

3539
The target labeled directories are used for selecting sources specific to an MCU or MCU family. The set of directories included in a given build is all of the names of the targets in the inheritance hierarchy and the `target.extra_labels`. The following is an example `targets.json`:

0 commit comments

Comments
 (0)