build: target toolchain return

Revert back to the toolchain function. Although it should be refactored (return just list of toolchains from a target).
pull/12995/head
Martin Kojtal 2020-05-19 10:23:20 +01:00
parent f478a21de2
commit b43fc0cf1a
1 changed files with 2 additions and 1 deletions

View File

@ -424,7 +424,8 @@ def get_mbed_official_release(version, profile=None):
tuple( tuple(
[ [
TARGET_MAP[target].name, TARGET_MAP[target].name,
tuple(['ARM', 'GCC_ARM']) tuple(transform_release_toolchains(
- TARGET_MAP[target], version))
] ]
) for target in TARGET_NAMES \ ) for target in TARGET_NAMES \
if not profile or profile in TARGET_MAP[target].supported_application_profiles if not profile or profile in TARGET_MAP[target].supported_application_profiles