2018-02-10 10:48:03 +01:00
|
|
|
VERSION="2.30"
|
2017-12-09 21:51:48 +01:00
|
|
|
SRCDIR="binutils-$VERSION"
|
2018-02-10 10:48:03 +01:00
|
|
|
TARBALL="binutils-$VERSION.tar.xz"
|
2017-12-09 21:51:48 +01:00
|
|
|
URL="http://ftp.gnu.org/gnu/binutils"
|
2018-02-10 10:48:03 +01:00
|
|
|
SHA256SUM="6e46b8aeae2f727a36f0bd9505e405768a72218f1796f0d09757d45209871ae6"
|
2018-01-24 12:52:41 +01:00
|
|
|
DEPENDS=""
|
2017-12-09 21:51:48 +01:00
|
|
|
|
|
|
|
prepare() {
|
|
|
|
return
|
|
|
|
}
|
|
|
|
|
|
|
|
build() {
|
|
|
|
local INPUT="$1"
|
|
|
|
local OUTPUT="$2"
|
|
|
|
|
|
|
|
$INPUT/configure --prefix="$TCDIR" --target="$TARGET" \
|
|
|
|
--with-sysroot="$TCDIR/$TARGET" \
|
|
|
|
--disable-nls --disable-multilib
|
|
|
|
|
|
|
|
make configure-host
|
|
|
|
make -j $NUMJOBS
|
|
|
|
}
|
|
|
|
|
|
|
|
deploy() {
|
|
|
|
make install
|
|
|
|
}
|