1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-22 14:28:07 +00:00

build(core): fix filename when BITCOIN_ONLY is unset

[no changelog]
This commit is contained in:
Martin Milata 2023-02-17 18:06:48 +01:00
parent 0a955b4ad6
commit d3dd0e3c6f

View File

@ -818,7 +818,7 @@ if CMAKELISTS != 0:
env.Depends(program_elf, rust)
BINARY_NAME = f"build/firmware/firmware-{tools.get_model_identifier(TREZOR_MODEL)}"
if BITCOIN_ONLY != 0:
if not EVERYTHING:
BINARY_NAME += "-btconly"
BINARY_NAME += "-" + tools.get_version('embed/firmware/version.h')
BINARY_NAME += "-" + tools.get_git_revision_short_hash()