diff options
Diffstat (limited to 'board/cr50/build.mk')
-rw-r--r-- | board/cr50/build.mk | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/board/cr50/build.mk b/board/cr50/build.mk index 7cdc079bde..d2fe6309bd 100644 --- a/board/cr50/build.mk +++ b/board/cr50/build.mk @@ -40,6 +40,10 @@ EXTLIB := $(realpath ../../third_party/tpm2) CFLAGS += -I$(EXTLIB) LDFLAGS_EXTRA += -L$(out)/tpm2 -ltpm2 +# For the benefit of the tpm2 library. +INCLUDE_ROOT := $(abspath ./include) +CFLAGS += -I$(INCLUDE_ROOT) + # Add dependencies on that library $(out)/RO/ec.RO.elf: $(out)/tpm2/libtpm2.a $(out)/RW/ec.RW.elf: $(out)/tpm2/libtpm2.a |