Support installing sysroot for mips64el for Linux
Change adds support for installing Debian Stretch sysroot for mips64el. BUG=751812 Change-Id: Iaa32d0b0701b17a49e0ac735134ad85cf746fe23 Reviewed-on: https://chromium-review.googlesource.com/776873 Reviewed-by: Lei Zhang <thestig@chromium.org> Commit-Queue: Lei Zhang <thestig@chromium.org> Cr-Original-Commit-Position: refs/heads/master@{#517863} Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src Cr-Mirrored-Commit: 1d39d46571bbca555e8cfa090dac19c1f8c09fcf
This commit is contained in:
Родитель
8e197a89e7
Коммит
a4f8a20d1c
|
@ -39,7 +39,7 @@ import gyp_environment
|
|||
URL_PREFIX = 'https://commondatastorage.googleapis.com'
|
||||
URL_PATH = 'chrome-linux-sysroot/toolchain'
|
||||
|
||||
VALID_ARCHS = ('arm', 'arm64', 'i386', 'amd64', 'mips')
|
||||
VALID_ARCHS = ('arm', 'arm64', 'i386', 'amd64', 'mips', 'mips64el')
|
||||
|
||||
|
||||
class Error(Exception):
|
||||
|
@ -72,6 +72,8 @@ def DetectHostArch():
|
|||
return 'arm64'
|
||||
if detected_host_arch == 'mips':
|
||||
return 'mips'
|
||||
if detected_host_arch == 'mips64':
|
||||
return 'mips64el'
|
||||
if detected_host_arch == 'ppc':
|
||||
return 'ppc'
|
||||
if detected_host_arch == 's390':
|
||||
|
@ -101,6 +103,8 @@ def DetectTargetArch():
|
|||
return 'arm64'
|
||||
if target_arch == 'mipsel':
|
||||
return 'mips'
|
||||
if target_arch == 'mips64el':
|
||||
return 'mips64el'
|
||||
|
||||
return None
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче