diff dev/binutils/binutils.sh @ 520:c6c29dc90899

dev: use new FHS
author David Demelier <markand@malikania.fr>
date Tue, 09 Apr 2019 19:49:25 +0200
parents 515778c3a417
children bad483aace64
line wrap: on
line diff
--- a/dev/binutils/binutils.sh	Tue Apr 09 19:45:38 2019 +0200
+++ b/dev/binutils/binutils.sh	Tue Apr 09 19:49:25 2019 +0200
@@ -64,7 +64,7 @@
 		--build=$CBUILD \
 		--host=$CHOST \
 		--target=$CTARGET \
-		--prefix=/usr \
+		--prefix=/ \
 		--disable-werror \
 		--enable-gold \
 		--enable-ld=default \
@@ -77,11 +77,10 @@
 		--with-system-zlib \
 		$with_nls \
 		$with_gdb
-	make tooldir=/usr
-	make tooldir=/usr install DESTDIR=$DESTDIR
-	rm -f $DESTDIR/usr/lib/libbfd.la
-	rm -f $DESTDIR/usr/lib/libopcodes.la
-
+	make tooldir=/
+	make tooldir=/ install DESTDIR=$DESTDIR
+	rm -f $DESTDIR/lib/libbfd.la
+	rm -f $DESTDIR/lib/libopcodes.la
 
 	popd
 	rm -rf $PKGNAME-$PKGVERSION