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.
21 lines
473 B
21 lines
473 B
10 years ago
|
name=binutils
|
||
9 years ago
|
version=2.25.1
|
||
10 years ago
|
|
||
9 years ago
|
dlextract "https://ftp.gnu.org/gnu/$name/$name-$version.tar.bz2" \
|
||
|
"ac493a78de4fee895961d025b7905be4"
|
||
|
header_end
|
||
10 years ago
|
|
||
|
mkdir "$name-build"; cd "$name-build"
|
||
|
|
||
|
"../$name-$version/configure" \
|
||
|
--prefix=/tools \
|
||
|
--with-sysroot="$dir_install" \
|
||
|
--with-lib-path=/tools/lib \
|
||
|
--target="$target" \
|
||
|
--disable-nls \
|
||
|
--disable-werror
|
||
|
|
||
10 years ago
|
make; make DESTDIR="$dir_install" install
|
||
10 years ago
|
|
||
|
# vim:set tabstop=4 shiftwidth=4 syntax=sh et:
|