aboutsummaryrefslogtreecommitdiff
path: root/scripts/build-all.py
diff options
context:
space:
mode:
authorMitchel Humpherys <mitchelh@codeaurora.org>2013-07-03 11:13:03 -0700
committerStephen Boyd <sboyd@codeaurora.org>2013-09-04 14:18:13 -0700
commite49c7ba1e60dffcc9c40dfdb275f830223b4b54e (patch)
tree8cc037cd8d8c20052ff4ab02d347a56c8eba8d73 /scripts/build-all.py
parentf38611ad7bab665fa84965fba962b524bd4e6429 (diff)
scripts: only set CROSS_COMPILE when unset to begin with
Don't mess with CROSS_COMPILE if it's already set up in the user's environment. This allows the user to specify the cross compiler that they wish to use. Change-Id: I15873f79a30e1da91ee34eb31c713e5cd767c372 Signed-off-by: Mitchel Humpherys <mitchelh@codeaurora.org>
Diffstat (limited to 'scripts/build-all.py')
-rwxr-xr-xscripts/build-all.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/build-all.py b/scripts/build-all.py
index c585e4ad1e1..5a109bbf7f0 100755
--- a/scripts/build-all.py
+++ b/scripts/build-all.py
@@ -46,8 +46,8 @@ make_command = ["vmlinux", "modules", "dtbs"]
make_env = os.environ
make_env.update({
'ARCH': 'arm',
- 'CROSS_COMPILE': 'arm-none-linux-gnueabi-',
'KCONFIG_NOTIMESTAMP': 'true' })
+make_env.setdefault('CROSS_COMPILE', 'arm-none-linux-gnueabi-')
all_options = {}
def error(msg):