summaryrefslogtreecommitdiff
path: root/board/cr50/build.mk
diff options
context:
space:
mode:
Diffstat (limited to 'board/cr50/build.mk')
-rw-r--r--board/cr50/build.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/board/cr50/build.mk b/board/cr50/build.mk
index b12bdc5f8b..87d1f93423 100644
--- a/board/cr50/build.mk
+++ b/board/cr50/build.mk
@@ -62,6 +62,10 @@ board-y += tpm_nvmem_ops.o
board-y += wp.o
board-$(CONFIG_U2F) += u2f.o
+ifneq ($(H1_RED_BOARD),)
+CPPFLAGS += -DH1_RED_BOARD
+endif
+
# Build and link with an external library
EXTLIB := $(realpath ../../third_party/tpm2)
CFLAGS += -I$(EXTLIB)