Skip to content

Commit 8941404

Browse files
lobradovigrr
authored andcommitted
get.py: identify aarch64 properly (esp8266#4050)
1 parent ed83304 commit 8941404

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/get.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ def identify_platform():
102102
if sys.maxsize > 2**32:
103103
bits = 64
104104
sys_name = platform.system()
105-
if 'Linux' in sys_name and platform.platform().find('arm') > 0:
105+
if 'Linux' in sys_name and (platform.platform().find('arm') > 0 or platform.platform().find('aarch64') > 0):
106106
sys_name = 'LinuxARM'
107107
if 'CYGWIN_NT' in sys_name:
108108
sys_name = 'Windows'

0 commit comments

Comments
 (0)