Rename `--default-comstr` to `--verbose`
This commit is contained in:
parent
8dcb8a6af6
commit
2f6bf3b5ec
|
@ -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',
|
||||||
|
|
Loading…
Reference in New Issue