1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-24 15:28:10 +00:00

build(core): correctly propagate DISABLE_OPTIGA to kernel

This commit is contained in:
matejcik 2024-11-21 16:08:53 +01:00
parent 957912ae26
commit c66b050c99
2 changed files with 2 additions and 1 deletions

View File

@ -31,6 +31,7 @@ PYOPT ?= 1
BITCOIN_ONLY ?= 0
BOOTLOADER_QA ?= 0
BOOTLOADER_DEVEL ?= 0
DISABLE_OPTIGA ?= 0
TREZOR_MODEL ?= T
TREZOR_MEMPERF ?= 0
ADDRESS_SANITIZER ?= 0

View File

@ -24,7 +24,7 @@ FEATURE_FLAGS = {
}
FEATURES_WANTED = ["input", "sd_card", "rgb_led", "dma2d", "consumption_mask", "usb" ,"optiga", "haptic"]
if DISABLE_OPTIGA and PYOPT == '0':
if DISABLE_OPTIGA and not PRODUCTION:
FEATURES_WANTED.remove("optiga")
CCFLAGS_MOD = ''