From ba3b0ebdf8dfc054d962ac291a538d41770c4419 Mon Sep 17 00:00:00 2001 From: Patrick Georgi Date: Fri, 3 Sep 2010 08:53:06 +0000 Subject: The current workaround for binutils on mingw (or any non texinfo system) failed. While we're at it, improve DESTDIR handling Signed-off-by: Patrick Georgi Acked-by: Patrick Georgi git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5768 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- util/crossgcc/buildgcc | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'util/crossgcc/buildgcc') diff --git a/util/crossgcc/buildgcc b/util/crossgcc/buildgcc index 512b049771..f25685121c 100755 --- a/util/crossgcc/buildgcc +++ b/util/crossgcc/buildgcc @@ -372,9 +372,6 @@ if [ -f build-binutils/.success ]; then else printf "Building binutils ${BINUTILS_VERSION} ... " ( - # workaround for building binutils 2.20.1 on MINGW: - touch binutils-${BINUTILS_VERSION}/bfd/doc/bfd.info - # now build binutils cd build-binutils rm -f .failed ../binutils-${BINUTILS_VERSION}/configure --prefix=$TARGETDIR --target=${TARGETARCH} \ @@ -394,6 +391,7 @@ else printf "Building GCC ${GCC_VERSION} ... " ( cd build-gcc + export PATH=$PATH:$DESTDIR$TARGETDIR/bin rm -f .failed # GCC does not honour HOSTCFLAGS at all. CFLAGS are used for # both target and host object files. This is pretty misdesigned. @@ -423,7 +421,7 @@ else printf "Building GDB ${GDB_VERSION} ... " ( cd build-gdb - export PATH=$PATH:$PREFIX/bin + export PATH=$PATH:$DESTDIR$TARGETDIR/bin rm -f .failed CFLAGS="$HOSTCFLAGS" ../gdb-${GDB_VERSION}/configure --prefix=$TARGETDIR --target=${TARGETARCH} \ --without-python --disable-werror --disable-nls -- cgit v1.2.3