mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-11-09 20:45:41 +08:00
Rename --default-comstr to --verbose
This commit is contained in:
1 parent
8dcb8a6af6
commit
2f6bf3b5ec
1 file changed
+5
-4
+5
-4
@@ -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',
|
||||
|
||||
Reference in new issue
Block a user