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() {
|
2018-02-16 23:22:04 +01:00
|
|
|
$1/configure --prefix="$TCDIR" --target="$TARGET" --disable-nls \
|
|
|
|
--with-sysroot="$TCDIR/$TARGET" --disable-multilib
|
2017-12-09 21:51:48 +01:00
|
|
|
|
|
|
|
make configure-host
|
|
|
|
make -j $NUMJOBS
|
|
|
|
}
|
|
|
|
|
|
|
|
deploy() {
|
|
|
|
make install
|
|
|
|
}
|
2018-05-06 17:23:31 +02:00
|
|
|
|
|
|
|
check_update() {
|
|
|
|
curl --silent -L "$URL" | grep -o ">binutils-[0-9.]*tar.xz<" | \
|
|
|
|
sed 's/>binutils-//g' | sed 's/.tar.xz<//g' | \
|
|
|
|
verson_find_greatest "$VERSION"
|
|
|
|
}
|