mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-01-03 12:00:59 +00:00
build(core): always allow building model R until we have vendor headers
This commit is contained in:
parent
ddd974b56a
commit
84555c2ea3
@ -800,11 +800,11 @@ BOOTLOADER_SUFFIX = MODEL_IDENTIFIER
|
|||||||
if BOOTLOADER_QA:
|
if BOOTLOADER_QA:
|
||||||
VENDORHEADER = f'embed/vendorheader/{MODEL_IDENTIFIER}/vendorheader_qa_DO_NOT_SIGN_signed_dev.bin'
|
VENDORHEADER = f'embed/vendorheader/{MODEL_IDENTIFIER}/vendorheader_qa_DO_NOT_SIGN_signed_dev.bin'
|
||||||
BOOTLOADER_SUFFIX = MODEL_IDENTIFIER + '_qa'
|
BOOTLOADER_SUFFIX = MODEL_IDENTIFIER + '_qa'
|
||||||
|
elif TREZOR_MODEL == 'R':
|
||||||
|
# XXX workaround for currently missing vendorheaders for T2B1
|
||||||
|
VENDORHEADER = f'embed/vendorheader/{MODEL_IDENTIFIER}/vendorheader_unsafe_signed_dev.bin'
|
||||||
elif PRODUCTION:
|
elif PRODUCTION:
|
||||||
VENDORHEADER = f'embed/vendorheader/{MODEL_IDENTIFIER}/vendorheader_satoshilabs_signed_prod.bin'
|
VENDORHEADER = f'embed/vendorheader/{MODEL_IDENTIFIER}/vendorheader_satoshilabs_signed_prod.bin'
|
||||||
elif TREZOR_MODEL == 'R':
|
|
||||||
# XXX workaround for currently missing prod-signed vendorheader for T2B1
|
|
||||||
VENDORHEADER = f'embed/vendorheader/{MODEL_IDENTIFIER}/vendorheader_unsafe_signed_dev.bin'
|
|
||||||
else:
|
else:
|
||||||
VENDORHEADER = f'embed/vendorheader/{MODEL_IDENTIFIER}/vendorheader_unsafe_signed_prod.bin'
|
VENDORHEADER = f'embed/vendorheader/{MODEL_IDENTIFIER}/vendorheader_unsafe_signed_prod.bin'
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user