Skip to content

Commit

Permalink
[bazel] Disable QEMU flashgen ELF sanity checks
Browse files Browse the repository at this point in the history
Signed-off-by: James Wainwright <[email protected]>
  • Loading branch information
jwnrt committed Feb 23, 2025
1 parent d9135cd commit ba3802d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions rules/opentitan/qemu.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,11 @@ def gen_flash(ctx, **kwargs):
firmware_bin.path,
"-X",
firmware_elf.path,
# Skip `flashgen`'s ELF/binary mtime checks - it will fail if the
# binary is older than the ELF which usually suggests that the
# binary has not been regenerated, however Bazel often messes with
# mtimes causing false negatives.
"--ignore-time",
out.path,
],
mnemonic = "FlashGen",
Expand Down

0 comments on commit ba3802d

Please sign in to comment.