summaryrefslogtreecommitdiff
path: root/src/drivers/ocp/vpd/Makefile.inc
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/ocp/vpd/Makefile.inc')
-rw-r--r--src/drivers/ocp/vpd/Makefile.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/drivers/ocp/vpd/Makefile.inc b/src/drivers/ocp/vpd/Makefile.inc
index c34866ff38..8db5afaf47 100644
--- a/src/drivers/ocp/vpd/Makefile.inc
+++ b/src/drivers/ocp/vpd/Makefile.inc
@@ -1,2 +1,5 @@
romstage-$(CONFIG_OCP_VPD) += vpd_util.c
ramstage-$(CONFIG_OCP_VPD) += vpd_util.c
+ifeq ($(CONFIG_VPD),y)
+all-$(CONFIG_CONSOLE_OVERRIDE_LOGLEVEL) += loglevel_vpd.c
+endif