Skip to content

[tools] build_everything.py should fail immediately for unsupported target #2323

@zgoda

Description

@zgoda

For not mbed-os capable platforms build process should not be attempted. Now it fails in the middle trying to compile RTOS support:

Failed to build library
./rtos/rtx/TARGET_CORTEX_M/RTX_Conf_CM.c:65:6: error: #error "no target defined"
 #    error "no target defined"
      ^
./rtos/rtx/TARGET_CORTEX_M/RTX_Conf_CM.c:105:6: error: #error "no target defined"
 #    error "no target defined"
      ^
./rtos/rtx/TARGET_CORTEX_M/RTX_Conf_CM.c:269:6: error: #error "no target defined"
 #    error "no target defined"
      ^

Found when testing PR #2285

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions