summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 3e528ece..fe74fc00 100644
--- a/Makefile
+++ b/Makefile
@@ -190,6 +190,13 @@ else
CFLAGS += -DUSB_BOOT_ON_DEV=0
endif
+# EC software sync is slow to update. Enable warning screen display.
+ifneq ($(filter-out 0,${EC_SLOW_UPDATE}),)
+CFLAGS += -DEC_SLOW_UPDATE=1
+else
+CFLAGS += -DEC_SLOW_UPDATE=0
+endif
+
# Some tests need to be disabled when using mocked_secdata_tpm.
ifneq (${MOCK_TPM},)
CFLAGS += -DMOCK_TPM