summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorPatrick Georgi <patrick@georgi-clan.de>2015-02-27 23:36:26 +0100
committerPatrick Georgi <pgeorgi@google.com>2015-02-28 22:20:44 +0100
commit6321f523e73c06953c8c6b0a24e06ef312490452 (patch)
treebd370035e1384e07209718dcf34b7582fc98da3b /util
parent81dd46ff2a8563dfbeb286df177f2ab558eefa3c (diff)
downloadcoreboot-6321f523e73c06953c8c6b0a24e06ef312490452.tar.xz
crossgcc: Clean GNU make context so builds succeed
GCC's build system is sometimes confused by our build system's configuration: make crossgcc failed, while util/crossgcc/buildgcc -p armv7-a-eabi didn't. Make sure the GCC build system runs independently from ours by breaking any ties. Change-Id: I563e17b22127bc8c83ebfb17252184a3b6e0e58b Signed-off-by: Patrick Georgi <patrick@georgi-clan.de> Reviewed-on: http://review.coreboot.org/8545 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
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 e4ddbc24e4..0779266a79 100755
--- a/util/crossgcc/buildgcc
+++ b/util/crossgcc/buildgcc
@@ -64,6 +64,8 @@ IASL_DIR="acpica-unix-${IASL_VERSION}"
PYTHON_DIR="Python-${PYTHON_VERSION}"
EXPAT_DIR="expat-${EXPAT_VERSION}"
+unset MAKELEVEL MAKEFLAGS
+
SAVETEMPS=0
SKIPGDB=1
SKIPPYTHON=1