aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2015-04-28 14:11:38 +0200
committerKarel Kočí <cynerd@email.cz>2015-04-28 14:11:38 +0200
commitd98525920581e908604bedf91c50def0024e0b59 (patch)
tree93fc10b29a1092482a0a63380ce228a6852be124
parent4761eed66e66b7227087095f41fbfa7d235f64c9 (diff)
downloadlinux-conf-perf-d98525920581e908604bedf91c50def0024e0b59.tar.gz
linux-conf-perf-d98525920581e908604bedf91c50def0024e0b59.tar.bz2
linux-conf-perf-d98525920581e908604bedf91c50def0024e0b59.zip
Add possibility of running step-by-step
-rw-r--r--conf.py1
-rwxr-xr-xscripts/loop.py6
2 files changed, 5 insertions, 2 deletions
diff --git a/conf.py b/conf.py
index 0572287..e76a85d 100644
--- a/conf.py
+++ b/conf.py
@@ -14,6 +14,7 @@ kernel_config_output = True
kernel_make_output = False
boot_output = False
+step_by_step = True
#######################################
# Path settings
dot_confmk = '.conf.mk'
diff --git a/scripts/loop.py b/scripts/loop.py
index 4f5cdf0..c5111bf 100755
--- a/scripts/loop.py
+++ b/scripts/loop.py
@@ -122,9 +122,11 @@ class mainThread(Thread):
Thread.__init__(self, name=name)
self.term = False
def run(self):
- while not self.term:
+ if conf.step_by_step:
step()
-
+ else:
+ while not self.term:
+ step()
def loop_term():
global thr