repo/binutils/Makefile

19 lines
485 B
Makefile
Raw Normal View History

2021-06-30 00:26:09 +03:00
prepare:
2021-06-30 00:40:13 +03:00
wget -O binutils.tar.gz https://mirrors.nav.ro/gnu/binutils/binutils-2.10.1.tar.gz
tar -xf binutils.tar.gz
2021-06-30 00:26:09 +03:00
cd binutils
$(MAKE):
2021-06-30 00:59:16 +03:00
@../configure --prefix=/usr \
2021-06-30 00:26:09 +03:00
--enable-gold \
--enable-ld=default \
--enable-plugins \
--enable-shared \
--disable-werror \
--enable-64-bit-bfd \
--with-system-zlib
$(MAKE) tooldir=${PREFIX}/usr
2021-06-30 00:26:09 +03:00
install:
$(MAKE) install tooldir=${PREFIX}/usr DESTDIR="${PREFIX}"
2021-06-30 00:26:09 +03:00
uninstall:
$(MAKE) uninstall