summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorRogerz Zhang <[email protected]>2013-01-29 16:54:03 +0800
committerRogerz Zhang <[email protected]>2013-01-29 16:54:03 +0800
commit2f6bf3b5ecb12a5faed9fd95a1ce7ded0c238155 (patch)
treea4a1425c6e7f1768f67842740e50228ba72feb45 /tools
parent8dcb8a6af6efa73d1d11b811af6f8b8de842be92 (diff)
Rename `--default-comstr` to `--verbose`
Diffstat (limited to 'tools')
-rw-r--r--tools/building.py9
1 files 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',