mirror of https://github.com/ArduPilot/ardupilot
wscript: Fix AP_SIGNED_FIRMWARE only defined as bool if flag is provided
If is not provided at build time, then AP_SIGNED_FIRMWARE results in empty list. If is provided at build time, then AP_SIGNED_FIRMWARE results in .
This commit is contained in:
parent
b5a19838f9
commit
b002b6b06c
2
wscript
2
wscript
|
@ -491,8 +491,8 @@ def configure(cfg):
|
|||
_set_build_context_variant(cfg.env.BOARD)
|
||||
cfg.setenv(cfg.env.BOARD)
|
||||
|
||||
cfg.env.AP_SIGNED_FIRMWARE = cfg.options.signed_fw
|
||||
if cfg.options.signed_fw:
|
||||
cfg.env.AP_SIGNED_FIRMWARE = True
|
||||
cfg.options.enable_check_firmware = True
|
||||
|
||||
cfg.env.BOARD = cfg.options.board
|
||||
|
|
Loading…
Reference in New Issue