mirror of
https://github.com/LineageOS/android_kernel_samsung_msm8226.git
synced 2026-09-28 00:00:22 +02:00
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:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user