aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2015-05-04 22:49:05 +0200
committerKarel Kočí <cynerd@email.cz>2015-05-04 22:49:05 +0200
commite071f89c68780edb211e5e95e52dabdd2d1357fe (patch)
tree9fb2a78b958ba5047e58d9d83b2412ea5c385474 /scripts
parent7d9ea0394ec41f75fd860e1d267ecf3cc3f93ff4 (diff)
downloadlinux-conf-perf-e071f89c68780edb211e5e95e52dabdd2d1357fe.tar.gz
linux-conf-perf-e071f89c68780edb211e5e95e52dabdd2d1357fe.tar.bz2
linux-conf-perf-e071f89c68780edb211e5e95e52dabdd2d1357fe.zip
Fix missing addition for commit 9a1f3ff8fbff9dd418242eefa7aa69dfd38609c5
Diffstat (limited to 'scripts')
-rw-r--r--scripts/kernel.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/kernel.py b/scripts/kernel.py
index d698e4c..994d5cf 100644
--- a/scripts/kernel.py
+++ b/scripts/kernel.py
@@ -4,6 +4,7 @@ import subprocess
from conf import conf
from conf import sf
+import exceptions
import utils
def config():
@@ -17,6 +18,8 @@ def config():
sprc = subprocess.call([sf(conf.write_config), sf(conf.linux_kconfig_head),
sf(conf.build_folder)], stdout=subprocess.DEVNULL,
env=utils.get_kernel_env())
+ if sprc > 0:
+ raise exceptions.ConfigurationError("some configs mismatch")
os.chdir(wd)
def config_noprogram():