aboutsummaryrefslogtreecommitdiff
path: root/scripts/utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/utils.py')
-rw-r--r--scripts/utils.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/scripts/utils.py b/scripts/utils.py
index 0c10553..0b6ac9c 100644
--- a/scripts/utils.py
+++ b/scripts/utils.py
@@ -83,9 +83,7 @@ def callsubprocess(process_name, process, show_output = True, regular = "",
def get_kernel_env():
env = dict(os.environ)
- env['SRCARCH'] = conf.SRCARCH
- env['ARCH'] = conf.ARCH
- env['KERNELVERSION'] = 'KERNELVERSION' # hides error
+ env.update(conf.kernel_env)
return env