aboutsummaryrefslogtreecommitdiff
path: root/checkbuild.py
diff options
context:
space:
mode:
authorDan Albert <danalbert@google.com>2015-11-25 12:20:13 -0800
committerDan Albert <danalbert@google.com>2015-11-25 12:20:13 -0800
commit9e3bc89a8a02f0d42d8e2aec5c500a7ba41ac055 (patch)
tree3cbbab6084177de38b5905dbd474570e94f90615 /checkbuild.py
parent73b71a20d782e7878f1c213115cdd61b0ef6ad5e (diff)
downloadndk-9e3bc89a8a02f0d42d8e2aec5c500a7ba41ac055.tar.gz
Install Intel binutils to proper location.
The build system is going to look for this based on the triple, not the inconsistent toolchain name. Change-Id: Ieb54a541e5eb59cd81db663d2e6977d7b8bd4340
Diffstat (limited to 'checkbuild.py')
-rw-r--r--checkbuild.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/checkbuild.py b/checkbuild.py
index 5b353927a..46042d6f3 100644
--- a/checkbuild.py
+++ b/checkbuild.py
@@ -246,7 +246,7 @@ def build_binutils(out_dir, args):
triple = fixup_toolchain_triple(toolchain)
tmpdir = tempfile.mkdtemp()
try:
- install_dir = os.path.join(tmpdir, 'binutils', toolchain)
+ install_dir = os.path.join(tmpdir, 'binutils', triple)
os.makedirs(install_dir)
is_windows = host_tag.startswith('windows')
has_gold = not triple.startswith('mips') and not is_windows