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:
James O'Shannessy 2024-09-04 07:17:30 +10:00
parent b5a19838f9
commit b002b6b06c
1 changed files with 1 additions and 1 deletions

View File

@ -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