Was supposed to be a linux distribution, now just a collection of build scripts for packages on top of (ideally) any distribution.
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
name=binutils
|
|
|
|
version=2.25
|
|
|
|
|
|
|
|
dlextract "http://ftp.gnu.org/gnu/$name/$name-$version.tar.bz2" \
|
|
|
|
"e0f71a7b2ddab0f8612336ac81d9636b"
|
|
|
|
|
|
|
|
mkdir "$name-build"; cd "$name-build"
|
|
|
|
|
|
|
|
CC="$target-gcc" \
|
|
|
|
AR="$target-ar" \
|
|
|
|
RANLIB="$target-ranlib" \
|
|
|
|
"../$name-$version/configure" \
|
|
|
|
--prefix=/tools \
|
|
|
|
--disable-nls \
|
|
|
|
--disable-werror \
|
|
|
|
--with-lib-path=/tools/lib \
|
|
|
|
--with-sysroot
|
|
|
|
|
|
|
|
make; make DESTDIR="$dir_install" install
|
|
|
|
|
|
|
|
make -C ld clean
|
|
|
|
make -C ld LIB_PATH=/lib:/lib64:/usr/lib:/usr/lib64
|
|
|
|
cp ld/ld-new "$dir_install/tools/bin/ld-new"
|
|
|
|
|
|
|
|
# vim:set tabstop=4 shiftwidth=4 syntax=sh et:
|