From 84555c2ea321629dbcd50962b638a79e87702ce7 Mon Sep 17 00:00:00 2001 From: matejcik Date: Mon, 12 Jun 2023 16:09:39 +0200 Subject: [PATCH] build(core): always allow building model R until we have vendor headers --- core/SConscript.firmware | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/SConscript.firmware b/core/SConscript.firmware index ebb5391aea..bb9a530ca5 100644 --- a/core/SConscript.firmware +++ b/core/SConscript.firmware @@ -800,11 +800,11 @@ BOOTLOADER_SUFFIX = MODEL_IDENTIFIER if BOOTLOADER_QA: VENDORHEADER = f'embed/vendorheader/{MODEL_IDENTIFIER}/vendorheader_qa_DO_NOT_SIGN_signed_dev.bin' 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: 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: VENDORHEADER = f'embed/vendorheader/{MODEL_IDENTIFIER}/vendorheader_unsafe_signed_prod.bin'