Add right toolchains for version 2 toolchain support check

pull/9888/head
Senthil Ramakrishnan 2019-02-26 13:20:22 -06:00 committed by Senthil Ramakrishnan
parent 8231ebaf43
commit 51b1063195
1 changed files with 2 additions and 2 deletions

View File

@ -191,8 +191,8 @@ def is_official_target(target_name, version):
if hasattr(target, 'release_versions') \
and version in target.release_versions:
if version == '2':
# For version 2, either ARM or uARM toolchain support is required
required_toolchains = set(['ARM', 'uARM'])
# For version 2, one of the ARM toolchains(ARM, ARMC6, ARMC5 or uARM) support is required
required_toolchains = set(['ARM', 'ARMC5', 'ARMC6', 'uARM'])
if not len(required_toolchains.intersection(
set(target.supported_toolchains))) > 0: