mirror of https://github.com/ArduPilot/ardupilot
waf: allow AP_SCRIPTING_ENABLED to come from hwdef files
This commit is contained in:
parent
6c9ea896c7
commit
35d7561c50
6
wscript
6
wscript
|
@ -533,9 +533,11 @@ def configure(cfg):
|
||||||
cfg.start_msg('Scripting')
|
cfg.start_msg('Scripting')
|
||||||
if cfg.options.disable_scripting:
|
if cfg.options.disable_scripting:
|
||||||
cfg.end_msg('disabled', color='YELLOW')
|
cfg.end_msg('disabled', color='YELLOW')
|
||||||
else:
|
elif cfg.options.enable_scripting:
|
||||||
cfg.end_msg('enabled')
|
cfg.end_msg('enabled')
|
||||||
cfg.recurse('libraries/AP_Scripting')
|
else:
|
||||||
|
cfg.end_msg('maybe')
|
||||||
|
cfg.recurse('libraries/AP_Scripting')
|
||||||
|
|
||||||
cfg.recurse('libraries/AP_GPS')
|
cfg.recurse('libraries/AP_GPS')
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue