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')
# 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',