Commit 1d39d465 authored by Milko Leporis's avatar Milko Leporis Committed by Commit Bot

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/776873Reviewed-by: default avatarLei Zhang <thestig@chromium.org>
Commit-Queue: Lei Zhang <thestig@chromium.org>
Cr-Commit-Position: refs/heads/master@{#517863}
parent 503e8741
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment