tools: idf_tools.py: allow macOS x86_64 tools to be installed on arm64

Until arm64 tool binaries are available, we can run existing x86_64
ones under emulation.

Suggested in https://github.com/espressif/esp-idf/issues/6113.
pull/6416/head
Ivan Grokhotkov 2021-01-07 21:21:18 +01:00
rodzic fee77509a9
commit 5739127412
1 zmienionych plików z 2 dodań i 0 usunięć

Wyświetl plik

@ -121,6 +121,8 @@ PLATFORM_FROM_NAME = {
'osx': PLATFORM_MACOS,
'darwin': PLATFORM_MACOS,
'Darwin-x86_64': PLATFORM_MACOS,
# pretend it is x86_64 until Darwin-arm64 tool builds are available:
'Darwin-arm64': PLATFORM_MACOS,
# Linux
PLATFORM_LINUX64: PLATFORM_LINUX64,
'linux64': PLATFORM_LINUX64,