|
2 | 2 | # SPDX-License-Identifier: Apache-2.0
|
3 | 3 | include(../tools/cmake/set_linker_script.cmake)
|
4 | 4 |
|
5 |
| -if("Ambiq_Micro" IN_LIST MBED_TARGET_LABELS) |
6 |
| - add_subdirectory(TARGET_Ambiq_Micro) |
7 |
| -elseif("Analog_Devices" IN_LIST MBED_TARGET_LABELS) |
8 |
| - add_subdirectory(TARGET_Analog_Devices) |
9 |
| -elseif("ARM_FM" IN_LIST MBED_TARGET_LABELS) |
10 |
| - add_subdirectory(TARGET_ARM_FM) |
11 |
| -elseif("ARM_SSG" IN_LIST MBED_TARGET_LABELS) |
12 |
| - add_subdirectory(TARGET_ARM_SSG) |
13 |
| -elseif("Cypress" IN_LIST MBED_TARGET_LABELS) |
14 |
| - add_subdirectory(TARGET_Cypress) |
15 |
| -elseif("Freescale" IN_LIST MBED_TARGET_LABELS) |
16 |
| - add_subdirectory(TARGET_Freescale) |
17 |
| -elseif("GigaDevice" IN_LIST MBED_TARGET_LABELS) |
18 |
| - add_subdirectory(TARGET_GigaDevice) |
19 |
| -elseif("Maxim" IN_LIST MBED_TARGET_LABELS) |
20 |
| - add_subdirectory(TARGET_Maxim) |
21 |
| -elseif("NORDIC" IN_LIST MBED_TARGET_LABELS) |
22 |
| - add_subdirectory(TARGET_NORDIC) |
23 |
| -elseif("NUVOTON" IN_LIST MBED_TARGET_LABELS) |
24 |
| - add_subdirectory(TARGET_NUVOTON) |
25 |
| -elseif("NXP" IN_LIST MBED_TARGET_LABELS) |
26 |
| - add_subdirectory(TARGET_NXP) |
27 |
| -elseif("RENESAS" IN_LIST MBED_TARGET_LABELS) |
28 |
| - add_subdirectory(TARGET_RENESAS) |
29 |
| -elseif("Samsung" IN_LIST MBED_TARGET_LABELS) |
30 |
| - add_subdirectory(TARGET_Samsung) |
31 |
| -elseif("Silicon_Labs" IN_LIST MBED_TARGET_LABELS) |
32 |
| - add_subdirectory(TARGET_Silicon_Labs) |
33 |
| -elseif("STM" IN_LIST MBED_TARGET_LABELS) |
34 |
| - add_subdirectory(TARGET_STM) |
35 |
| -elseif("TOSHIBA" IN_LIST MBED_TARGET_LABELS) |
36 |
| - add_subdirectory(TARGET_TOSHIBA) |
37 |
| -endif() |
| 5 | +add_subdirectory(TARGET_Ambiq_Micro EXCLUDE_FROM_ALL) |
| 6 | +add_subdirectory(TARGET_Analog_Devices EXCLUDE_FROM_ALL) |
| 7 | +add_subdirectory(TARGET_ARM_FM EXCLUDE_FROM_ALL) |
| 8 | +add_subdirectory(TARGET_ARM_SSG EXCLUDE_FROM_ALL) |
| 9 | +add_subdirectory(TARGET_Cypress EXCLUDE_FROM_ALL) |
| 10 | +add_subdirectory(TARGET_Freescale EXCLUDE_FROM_ALL) |
| 11 | +add_subdirectory(TARGET_GigaDevice EXCLUDE_FROM_ALL) |
| 12 | +add_subdirectory(TARGET_Maxim EXCLUDE_FROM_ALL) |
| 13 | +add_subdirectory(TARGET_NORDIC EXCLUDE_FROM_ALL) |
| 14 | +add_subdirectory(TARGET_NUVOTON EXCLUDE_FROM_ALL) |
| 15 | +add_subdirectory(TARGET_NXP EXCLUDE_FROM_ALL) |
| 16 | +add_subdirectory(TARGET_RENESAS EXCLUDE_FROM_ALL) |
| 17 | +add_subdirectory(TARGET_Samsung EXCLUDE_FROM_ALL) |
| 18 | +add_subdirectory(TARGET_Silicon_Labs EXCLUDE_FROM_ALL) |
| 19 | +add_subdirectory(TARGET_STM EXCLUDE_FROM_ALL) |
| 20 | +add_subdirectory(TARGET_TOSHIBA EXCLUDE_FROM_ALL) |
0 commit comments