Skip to content

Commit

Permalink
wscript: Fix AP_SIGNED_FIRMWARE only defined as bool if flag is provided
Browse files Browse the repository at this point in the history
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 .
  • Loading branch information
joshanne committed Oct 31, 2024
1 parent b5a1983 commit b002b6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wscript
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b002b6b

Please sign in to comment.