From ea614468f8d47f787ae8e30221013c353994a223 Mon Sep 17 00:00:00 2001 From: Johannes Berg Date: Tue, 2 Apr 2013 10:37:10 +0200 Subject: [PATCH] add some non-verbose output Now that it prints nothing at all, it's eery, add back some output :) Signed-off-by: Johannes Berg --- gentree.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/gentree.py b/gentree.py index 68990b829538..618622194220 100755 --- a/gentree.py +++ b/gentree.py @@ -176,12 +176,14 @@ def main(): check_output_dir(args.outdir, args.clean) # do the copy + print 'Copy original source files ...' copy_files(copy_list, args.outdir) git_debug_init(args) # some post-processing is required configtree = kconfig.ConfigTree(os.path.join(args.outdir, 'Kconfig')) + print 'Modify Kconfig tree ...' configtree.prune_sources(ignore=['Kconfig.kernel', 'Kconfig.versions']) git_debug_snapshot(args, "prune Kconfig tree") configtree.force_tristate_modular() @@ -208,6 +210,7 @@ def main(): git_debug_snapshot(args, "add versions/symbols files") + print 'Apply patches ...' patchdirs = [] for root, dirs, files in os.walk(os.path.join(source_dir, 'patches')): if not dirs: @@ -284,6 +287,8 @@ def main(): git_debug_snapshot(args, "apply backport patches from %s" % (os.path.basename(pdir),)) + print 'Rewrite Makefiles and Kconfig files ...' + # rewrite Makefile and source symbols regexes = [] for some_symbols in [symbols[i:i + 50] for i in range(0, len(symbols), 50)]: @@ -337,4 +342,6 @@ def main(): fo.close() git_debug_snapshot(args, "disable unsatisfied Makefile parts") + print 'Done!' + main() -- 2.30.2