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
4
wscript
4
wscript
|
@ -533,8 +533,10 @@ def configure(cfg):
|
|||
cfg.start_msg('Scripting')
|
||||
if cfg.options.disable_scripting:
|
||||
cfg.end_msg('disabled', color='YELLOW')
|
||||
else:
|
||||
elif cfg.options.enable_scripting:
|
||||
cfg.end_msg('enabled')
|
||||
else:
|
||||
cfg.end_msg('maybe')
|
||||
cfg.recurse('libraries/AP_Scripting')
|
||||
|
||||
cfg.recurse('libraries/AP_GPS')
|
||||
|
|
Loading…
Reference in New Issue