From d98525920581e908604bedf91c50def0024e0b59 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Tue, 28 Apr 2015 14:11:38 +0200 Subject: Add possibility of running step-by-step --- conf.py | 1 + scripts/loop.py | 6 ++++-- 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 -- cgit v1.2.3