tools: print system platform

pull/8934/head
Anton Maklakov 2022-04-14 13:39:16 +07:00 zatwierdzone przez Erhan Kurubas
rodzic 6ae22d9f3b
commit e72017bb23
1 zmienionych plików z 2 dodań i 1 usunięć

Wyświetl plik

@ -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.