diff options
author | Patrick Georgi <pgeorgi@google.com> | 2014-11-29 14:43:35 +0100 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2014-11-30 12:20:17 +0100 |
commit | 32a5a5f467e6a69647912cecc4fee9e8fc7cfea3 (patch) | |
tree | c986b5ebf82deae93a68c27326060222980ddb32 /util | |
parent | 4f75af9fe26bf8c741d7877c79a24ae1a521aae7 (diff) |
buildgcc: support DESTDIR for libelf
The libelf build system doesn't support the
DESTDIR variable. Work around by mangling prefix
when installing.
Change-Id: I3a56eb2bf919bcb9b586b945dce26a02dbaff931
Signed-off-by: Patrick Georgi <pgeorgi@google.com>
Reviewed-on: http://review.coreboot.org/7613
Tested-by: build bot (Jenkins)
Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Diffstat (limited to 'util')
-rwxr-xr-x | util/crossgcc/buildgcc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/crossgcc/buildgcc b/util/crossgcc/buildgcc index 42ae04dd41..7f2643fa60 100755 --- a/util/crossgcc/buildgcc +++ b/util/crossgcc/buildgcc @@ -437,7 +437,7 @@ printf "Building libelf ${LIBELF_VERSION} ... " ../${LIBELF_DIR}/configure --disable-shared --prefix=$TARGETDIR \ --infodir=$TARGETDIR/info CFLAGS="$HOSTCFLAGS" || touch .failed $MAKE $JOBS || touch .failed - $MAKE install DESTDIR=$DESTDIR || touch .failed + $MAKE install prefix=$DESTDIR/$TARGETDIR || touch .failed normalize_dirs |