From bf6e9b4cad834ee307537a88b89b0cef64ebe456 Mon Sep 17 00:00:00 2001 From: Pavol Rusnak Date: Thu, 15 Oct 2020 15:18:14 +0200 Subject: [PATCH] fix(core): always recalculate header hashes --- core/SConscript.firmware | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/SConscript.firmware b/core/SConscript.firmware index 1dc71e73cb..301ee5ee8d 100644 --- a/core/SConscript.firmware +++ b/core/SConscript.firmware @@ -628,7 +628,7 @@ if TREZOR_MODEL == 'T': '$OBJCOPY -O binary -j .vendorheader -j .header -j .flash -j .data --pad-to 0x08100000 $SOURCE ${TARGET}.p1', '$OBJCOPY -O binary -j .flash2 $SOURCE ${TARGET}.p2', '$CAT ${TARGET}.p1 ${TARGET}.p2 > $TARGET', - '$HEADERTOOL $TARGET ' + ('-D' if ARGUMENTS.get('PRODUCTION', '0') == '0' else ''), + '$HEADERTOOL -h $TARGET ' + ('-D' if ARGUMENTS.get('PRODUCTION', '0') == '0' else ''), '$DD if=$TARGET of=${TARGET}.p1 skip=0 bs=128k count=6', ] elif TREZOR_MODEL == '1':