22 lines
468 B
Bash
22 lines
468 B
Bash
|
|
fetch $BINUTILS_URL
|
|
|
|
cd "$SOURCES" && tar xf binutils-$BINUTILS_VERSION.tar.xz && cd binutils-$BINUTILS_VERSION
|
|
|
|
mkdir -p build && cd build
|
|
|
|
../configure \
|
|
--prefix="$CROSS" \
|
|
--with-sysroot="$SYSROOT" \
|
|
--target=$TARGET \
|
|
--disable-nls \
|
|
--enable-gprofng=no \
|
|
--disable-werror \
|
|
--enable-new-dtags \
|
|
--enable-default-hash-style=gnu \
|
|
--silent \
|
|
--quiet
|
|
|
|
make && make install
|
|
|
|
cd "$SOURCES" && rm -rf binutils-$BINUTILS_VERSION |