1
0
Fork 0
mirror of https://github.com/pygos/build.git synced 2024-11-23 03:29:46 +01:00
build/tcpkg/binutils/build
David Oberhollenzer ffacb26218 Remove depends file
Instead of having a "depends" file with a list of packages, add a
"DEPENDS" variable to the build script.

Generate the rootfs dependencies from a config file stored in the
cfg directory.

Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-01-30 14:02:09 +01:00

26 lines
478 B
Text
Executable file

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