blob: bd119feb67a2c8d5c4f5f9a93bede6543c72d8f2 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#!/bin/bash
name=binutils
version=2.31.1
url=https://ftp.gnu.org/gnu/binutils/${name}-${version}.tar.gz
curl -LO ${url}
tar xf ${name}-${version}.tar.gz
mkdir -p binutils
pushd binutils
../${name}-${version}/configure \
--prefix=${TOOLCHAIN} \
--with-sysroot=${TOOLCHAIN}
make -j${_maxjobs}
make install
popd
|