Skip to content

Commit 51b1063

Browse files
committed
Add right toolchains for version 2 toolchain support check
1 parent 8231eba commit 51b1063

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/build_api.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -191,8 +191,8 @@ def is_official_target(target_name, version):
191191
if hasattr(target, 'release_versions') \
192192
and version in target.release_versions:
193193
if version == '2':
194-
# For version 2, either ARM or uARM toolchain support is required
195-
required_toolchains = set(['ARM', 'uARM'])
194+
# For version 2, one of the ARM toolchains(ARM, ARMC6, ARMC5 or uARM) support is required
195+
required_toolchains = set(['ARM', 'ARMC5', 'ARMC6', 'uARM'])
196196

197197
if not len(required_toolchains.intersection(
198198
set(target.supported_toolchains))) > 0:

0 commit comments

Comments
 (0)