tools: print system platform

This commit is contained in:
Anton Maklakov 2022-04-14 13:39:16 +07:00 committed by Erhan Kurubas
parent 6ae22d9f3b
commit e72017bb23

View File

@ -1417,10 +1417,11 @@ def action_install(args): # type: ignore
tools_info = load_tools_info()
tools_spec = args.tools # type: ignore
targets = [] # type: list[str]
info('Current system platform: {}'.format(CURRENT_PLATFORM))
# Installing only single tools, no targets are specified.
if 'required' in tools_spec:
targets = clean_targets(args.targets)
info('Selected targets are: {}' .format(', '.join(get_user_defined_targets())))
info('Selected targets are: {}'.format(', '.join(get_user_defined_targets())))
if not tools_spec or 'required' in tools_spec:
# Installing tools for all ESP_targets required by the operating system.