summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/drivers/uart/Makefile.inc1
-rw-r--r--src/lib/Makefile.inc1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/drivers/uart/Makefile.inc b/src/drivers/uart/Makefile.inc
index 1a809e0a0d..1c2b69ee78 100644
--- a/src/drivers/uart/Makefile.inc
+++ b/src/drivers/uart/Makefile.inc
@@ -3,6 +3,7 @@ ifeq ($(CONFIG_DRIVERS_UART),y)
romstage-y += util.c
ramstage-y += util.c
bootblock-y += util.c
+secmon-y += util.c
smm-$(CONFIG_DEBUG_SMI) += util.c
# Add the driver, only one can be enabled. The driver files may
diff --git a/src/lib/Makefile.inc b/src/lib/Makefile.inc
index ef4e2aaf36..1d0851f667 100644
--- a/src/lib/Makefile.inc
+++ b/src/lib/Makefile.inc
@@ -139,6 +139,7 @@ bootblock-y += version.c
romstage-y += version.c
ramstage-y += version.c
smm-y += version.c
+secmon-y += version.c
$(obj)/lib/version.bootblock.o : $(obj)/build.h
$(obj)/lib/version.romstage.o : $(obj)/build.h