summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorPatrick Georgi <pgeorgi@google.com>2015-03-17 21:05:20 +0100
committerPatrick Georgi <pgeorgi@google.com>2015-03-18 21:50:33 +0100
commit8135dba368333e9112c9610f75427df23bbea8a4 (patch)
treea06eeb0750c03a2422d7f2e651196dde6f6fbba9 /util
parent9ef9d85976fcfc5f4c8c273eaf3377fdd6e5c24d (diff)
downloadcoreboot-8135dba368333e9112c9610f75427df23bbea8a4.tar.xz
crossgcc: jump to crossgcc path before building the toolchain
We use paths relative to that in the buildgcc script. Change-Id: I2b79c3d2c75088af7e8e362d18a38274352eb965 Signed-off-by: Patrick Georgi <pgeorgi@google.com> Reviewed-on: http://review.coreboot.org/8713 Reviewed-by: Aaron Durbin <adurbin@google.com> Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'util')
-rwxr-xr-xutil/crossgcc/buildgcc2
1 files changed, 2 insertions, 0 deletions
diff --git a/util/crossgcc/buildgcc b/util/crossgcc/buildgcc
index ceb1d1d4f1..07cc1f0c4e 100755
--- a/util/crossgcc/buildgcc
+++ b/util/crossgcc/buildgcc
@@ -20,6 +20,8 @@
# Foundation, Inc., 51 Franklin Street, Suite 500, Boston, MA 02110-1335, USA
#
+cd `dirname $0`
+
CROSSGCC_DATE="March 8th, 2015"
CROSSGCC_VERSION="1.27"