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>
This commit is contained in:
parent
f38611ad7b
commit
e49c7ba1e6
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue