Rename `--default-comstr` to `--verbose`

This commit is contained in:
Rogerz Zhang 2013-01-29 16:54:03 +08:00
parent 8dcb8a6af6
commit 2f6bf3b5ec
1 changed files with 5 additions and 4 deletions

View File

@ -114,13 +114,14 @@ def PrepareBuilding(env, root_directory, has_libcpu=False, remove_components = [
AddDepend('RT_USING_MINILIBC') AddDepend('RT_USING_MINILIBC')
# add comstr option # add comstr option
AddOption('--default-comstr', AddOption('--verbose',
dest='default_comstr', dest='verbose',
action='store_true', action='store_true',
default=False, 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( env.Replace(
ASCOMSTR = 'AS $TARGET', ASCOMSTR = 'AS $TARGET',
CCCOMSTR = 'CC $TARGET', CCCOMSTR = 'CC $TARGET',