]> rtime.felk.cvut.cz Git - linux-conf-perf.git/blobdiff - scripts/utils.py
Add kernel_env setting
[linux-conf-perf.git] / scripts / utils.py
index 0c1055391df47d87c127531106593473c99cc4fe..0b6ac9c681810253b0c2d07d868a295d0dd0d11c 100644 (file)
@@ -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