waf: keep non-variant options definitions together

Keep definition of options that are stored in the "non-variant" configuration
together.
This commit is contained in:
Gustavo Jose de Sousa 2016-07-28 15:18:01 -03:00 committed by Lucas De Marchi
parent 5597cc40e9
commit b65f63ffc1
1 changed files with 5 additions and 5 deletions

10
wscript
View File

@ -66,6 +66,11 @@ def options(opt):
default='sitl',
help='Target board to build, choices are %s.' % boards_names)
g.add_option('--debug',
action='store_true',
default=False,
help='Configure as debug variant.')
g.add_option('--no-submodule-update',
dest='submodule_update',
action='store_false',
@ -80,11 +85,6 @@ revisions.
default=False,
help='Enable benchmarks.')
g.add_option('--debug',
action='store_true',
default=False,
help='Configure as debug variant.')
g.add_option('--disable-lttng', action='store_true',
default=False,
help="Don't use lttng even if supported by board and dependencies available")