|
|
@ -394,18 +394,16 @@ def options(opt): |
|
|
|
g.add_option('--program-group', |
|
|
|
g.add_option('--program-group', |
|
|
|
action='append', |
|
|
|
action='append', |
|
|
|
default=[], |
|
|
|
default=[], |
|
|
|
help=''' |
|
|
|
help='''Select all programs that go in <PROGRAM_GROUP>/ for the build. |
|
|
|
Select all programs that go in <PROGRAM_GROUP>/ for the build. Example: `waf |
|
|
|
Example: `waf --program-group examples` builds all examples. The |
|
|
|
--program-group examples` builds all examples. The special group "all" selects |
|
|
|
special group "all" selects all programs. |
|
|
|
all programs. |
|
|
|
|
|
|
|
''') |
|
|
|
''') |
|
|
|
|
|
|
|
|
|
|
|
g.add_option('--upload', |
|
|
|
g.add_option('--upload', |
|
|
|
action='store_true', |
|
|
|
action='store_true', |
|
|
|
help=''' |
|
|
|
help='''Upload applicable targets to a connected device. Not all |
|
|
|
Upload applicable targets to a connected device. Not all platforms may support |
|
|
|
platforms may support this. Example: `waf copter --upload` means "build |
|
|
|
this. Example: `waf copter --upload` means "build arducopter and upload it to |
|
|
|
arducopter and upload it to my board". |
|
|
|
my board". |
|
|
|
|
|
|
|
''') |
|
|
|
''') |
|
|
|
|
|
|
|
|
|
|
|
g = opt.ap_groups['check'] |
|
|
|
g = opt.ap_groups['check'] |
|
|
@ -418,12 +416,12 @@ my board". |
|
|
|
|
|
|
|
|
|
|
|
g.add_option('--clean-all-sigs', |
|
|
|
g.add_option('--clean-all-sigs', |
|
|
|
action='store_true', |
|
|
|
action='store_true', |
|
|
|
help=''' |
|
|
|
help='''Clean signatures for all tasks. By default, tasks that scan for |
|
|
|
Clean signatures for all tasks. By default, tasks that scan for implicit |
|
|
|
implicit dependencies (like the compilation tasks) keep the dependency |
|
|
|
dependencies (like the compilation tasks) keep the dependency information |
|
|
|
information across clean commands, so that that information is changed |
|
|
|
across clean commands, so that that information is changed only when really |
|
|
|
only when really necessary. Also, some tasks that don't really produce |
|
|
|
necessary. Also, some tasks that don't really produce files persist their |
|
|
|
files persist their signature. This option avoids that behavior when |
|
|
|
signature. This option avoids that behavior when cleaning the build. |
|
|
|
cleaning the build. |
|
|
|
''') |
|
|
|
''') |
|
|
|
|
|
|
|
|
|
|
|
def build(bld): |
|
|
|
def build(bld): |
|
|
|