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.
2 parents f9052e3 + 467305f commit 35c9301Copy full SHA for 35c9301
tools/build_api.py
@@ -348,12 +348,13 @@ def is_official_target(target_name, version):
348
("following toolchains: %s" %
349
", ".join(sorted(supported_toolchains)))
350
351
- elif not target.c_lib == 'std':
+ elif target.c_lib not in ['std', 'small']:
352
result = False
353
- reason = ("Target '%s' must set the " % target.name) + \
354
- ("'c_lib' to 'std' to be included in the ") + \
355
- ("mbed OS 5.0 official release." + linesep) + \
356
- ("Currently it is set to '%s'" % target.c_lib)
+ reason = (
+ "'target.c_lib' for the '{}' target must be set to 'std' or"
+ " 'small'.{}"
+ "It is currently set to '{}'"
357
+ ).format(target.name, linesep, target.c_lib)
358
359
else:
360
0 commit comments