summaryrefslogtreecommitdiff
path: root/src/drivers/ocp/vpd/Makefile.mk
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/ocp/vpd/Makefile.mk')
-rw-r--r--src/drivers/ocp/vpd/Makefile.mk8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/drivers/ocp/vpd/Makefile.mk b/src/drivers/ocp/vpd/Makefile.mk
new file mode 100644
index 0000000000..1cdc63b524
--- /dev/null
+++ b/src/drivers/ocp/vpd/Makefile.mk
@@ -0,0 +1,8 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
+romstage-$(CONFIG_OCP_VPD) += vpd_util.c
+ramstage-$(CONFIG_OCP_VPD) += vpd_util.c
+ramstage-$(CONFIG_LINUXPAYLOAD_CMDLINE_VPD_OVERWRITE) += vpd_cmdline.c
+ifeq ($(CONFIG_VPD),y)
+all-$(CONFIG_CONSOLE_OVERRIDE_LOGLEVEL) += loglevel_vpd.c
+endif