aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2015-04-19 13:58:59 +0200
committerKarel Kočí <cynerd@email.cz>2015-04-19 13:58:59 +0200
commitc9d5ecb37847a87c9312f8227bd51f63bc7aa55a (patch)
tree81ceb1c3083699adcd08ffb7c738a330cbb11e71 /scripts
parentdee7377f75268eb512a4142534af5d8d336eb642 (diff)
downloadlinux-conf-perf-c9d5ecb37847a87c9312f8227bd51f63bc7aa55a.tar.gz
linux-conf-perf-c9d5ecb37847a87c9312f8227bd51f63bc7aa55a.tar.bz2
linux-conf-perf-c9d5ecb37847a87c9312f8227bd51f63bc7aa55a.zip
Add possibility to hide kernel output
Diffstat (limited to 'scripts')
m---------scripts/buildroot0
-rw-r--r--scripts/kernel.py7
2 files changed, 6 insertions, 1 deletions
diff --git a/scripts/buildroot b/scripts/buildroot
new file mode 160000
+Subproject 53903a1520420ae92fc1a9b4ffa6df8efff266f
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)