From c9d5ecb37847a87c9312f8227bd51f63bc7aa55a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Sun, 19 Apr 2015 13:58:59 +0200 Subject: Add possibility to hide kernel output --- scripts/kernel.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'scripts/kernel.py') diff --git a/scripts/kernel.py b/scripts/kernel.py index 58e3287..0b62826 100644 --- a/scripts/kernel.py +++ b/scripts/kernel.py @@ -21,5 +21,10 @@ def config(): def make(): wd = os.getcwd() os.chdir(conf.linux_sources) - subprocess.call(['make'] + conf.linux_make_args, env=utils.get_kernel_env()) + if conf.kernel_make_output: + subprocess.call(['make'] + conf.linux_make_args, + env=utils.get_kernel_env()) + else: + subprocess.call(['make'] + conf.linux_make_args, + stdout=subprocess.DEVNULL, env=utils.get_kernel_env()) os.chdir(wd) -- cgit v1.2.3