1
0
Fork 0
mirror of https://github.com/pygos/build.git synced 2024-11-16 08:27:11 +01:00
build/tcpkg/binutils/build

26 lines
467 B
Text
Raw Normal View History

VERSION="2.29.1"
SRCDIR="binutils-$VERSION"
TARBALL="binutils-$VERSION.tar.bz2"
URL="http://ftp.gnu.org/gnu/binutils"
SHA256SUM="1509dff41369fb70aed23682351b663b56db894034773e6dbf7d5d6071fc55cc"
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
}