提交 2f6bf3b5 编写于 作者: R Rogerz Zhang

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

上级 8dcb8a6a
...@@ -114,13 +114,14 @@ def PrepareBuilding(env, root_directory, has_libcpu=False, remove_components = [ ...@@ -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',
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册