aboutsummaryrefslogtreecommitdiffstats
path: root/builddefs
diff options
context:
space:
mode:
authorJoel Challis2025-06-29 03:29:33 +0200
committerGitHub2025-06-29 03:29:33 +0200
commit711b109246dc7d7e3881ccf70dce4adceefb4b02 (patch)
tree8c12759de3302ba7d433e30748e8eb8bee73d567 /builddefs
parent6347d18a2d4ffa041e175655e8669041e1f45d53 (diff)
Mitigate VIA keylogger security issues (#25414)
Co-authored-by: Nick Brassel <nick@tzarc.org>
Diffstat (limited to 'builddefs')
-rw-r--r--builddefs/common_features.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/builddefs/common_features.mk b/builddefs/common_features.mk
index 90231c9a96..c122afcff9 100644
--- a/builddefs/common_features.mk
+++ b/builddefs/common_features.mk
@@ -635,6 +635,9 @@ ifeq ($(strip $(VIA_ENABLE)), yes)
RAW_ENABLE := yes
BOOTMAGIC_ENABLE := yes
TRI_LAYER_ENABLE := yes
+ ifeq ($(strip $(VIA_INSECURE)), yes)
+ OPT_DEFS += -DVIA_INSECURE
+ endif
endif
ifeq ($(strip $(RAW_ENABLE)), yes)