summaryrefslogtreecommitdiffstats
path: root/taskcluster/scripts/misc/build-binutils-linux.sh
blob: da0eb27243fed31355210dc3cf1ad6efa817ef72 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/bash
set -x -e -v

# This script is for building binutils for Linux.

WORKSPACE=$HOME/workspace
HOME_DIR=$WORKSPACE/build
UPLOAD_DIR=$WORKSPACE/artifacts

cd $HOME_DIR/src

build/unix/build-binutils/build-binutils.sh $HOME_DIR

# Put a tarball in the artifacts dir
mkdir -p $UPLOAD_DIR
cp $HOME_DIR/binutils.tar.* $UPLOAD_DIR