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 Sep 4, 2024
1 parent e142146 commit 0714abe
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 @@ -486,8 +486,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 0714abe

Please sign in to comment.