buildgcc: use ${GDB_DIR} instead of gdb-${GDB_VERSION}

Hardware / Coreboot - Stefan Reinauer [coreboot.org] - 9 June 2015 16:31 EDT

Bring gdb in sync with all other build targets.

Change-Id: I9c478947a00f044edf910a91d876bbf486a791cf

###

diff --git a/util/crossgcc/buildgcc b/util/crossgcc/buildgcc
index 1f73078..a0474bb 100755
--- a/util/crossgcc/buildgcc
+++ b/util/crossgcc/buildgcc
@@ -424,7 +424,7 @@ build_GDB() {
LDFLAGS="-Wl,-rpath,\$\$ORIGIN/../lib/ -L$DESTDIR$TARGETDIR/lib \
-lpthread $LIBDL -lutil" \
CC="$CC" CFLAGS="$HOSTCFLAGS -I$DESTDIR$TARGETDIR/include" \
- ../gdb-${GDB_VERSION}/configure --prefix=$TARGETDIR \
+ ../${GDB_DIR}/configure --prefix=$TARGETDIR \
--target=${TARGETARCH} --disable-werror --disable-nls
$MAKE $JOBS || touch .failed
$MAKE install DESTDIR=$DESTDIR || touch .failed

7b40e42 buildgcc: use ${GDB_DIR} instead of gdb-${GDB_VERSION}
util/crossgcc/buildgcc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Upstream: review.coreboot.org


  • Share