From 2f6bf3b5ecb12a5faed9fd95a1ce7ded0c238155 Mon Sep 17 00:00:00 2001 From: Rogerz Zhang Date: Tue, 29 Jan 2013 16:54:03 +0800 Subject: [PATCH] Rename `--default-comstr` to `--verbose` --- tools/building.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/tools/building.py b/tools/building.py index feaaec9358..ae1177113e 100644 --- a/tools/building.py +++ b/tools/building.py @@ -114,13 +114,14 @@ def PrepareBuilding(env, root_directory, has_libcpu=False, remove_components = [ AddDepend('RT_USING_MINILIBC') # add comstr option - AddOption('--default-comstr', - dest='default_comstr', + AddOption('--verbose', + dest='verbose', action='store_true', default=False, - help='use default command string') + help='print verbose information during build') - if not GetOption('default_comstr'): + if not GetOption('verbose'): + # override the default verbose command string env.Replace( ASCOMSTR = 'AS $TARGET', CCCOMSTR = 'CC $TARGET',