18 lines
473 B
Makefile
18 lines
473 B
Makefile
prepare:
|
|
wget -O binutils.tar.gz https://mirrors.nav.ro/gnu/binutils/binutils-2.10.1.tar.gz
|
|
tar -xf binutils.tar.gz
|
|
cd binutils
|
|
make:
|
|
@../configure --prefix=/usr \
|
|
--enable-gold \
|
|
--enable-ld=default \
|
|
--enable-plugins \
|
|
--enable-shared \
|
|
--disable-werror \
|
|
--enable-64-bit-bfd \
|
|
--with-system-zlib
|
|
make tooldir=${PREFIX}/usr
|
|
install:
|
|
make install tooldir=${PREFIX}/usr DESTDIR="${PREFIX}"
|
|
uninstall:
|
|
make uninstall
|