summaryrefslogtreecommitdiff
path: root/src/drivers/pc80/vga/Makefile.mk
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/pc80/vga/Makefile.mk')
-rw-r--r--src/drivers/pc80/vga/Makefile.mk15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/drivers/pc80/vga/Makefile.mk b/src/drivers/pc80/vga/Makefile.mk
new file mode 100644
index 0000000000..63ec6ba6ae
--- /dev/null
+++ b/src/drivers/pc80/vga/Makefile.mk
@@ -0,0 +1,15 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
+ifeq ($(CONFIG_ARCH_X86),y)
+
+romstage-$(CONFIG_ROMSTAGE_VGA) += vga_io.c
+romstage-$(CONFIG_ROMSTAGE_VGA) += vga_palette.c
+romstage-$(CONFIG_ROMSTAGE_VGA) += vga_font_8x16.c
+romstage-$(CONFIG_ROMSTAGE_VGA) += vga.c
+
+ramstage-$(CONFIG_VGA) += vga_io.c
+ramstage-$(CONFIG_VGA) += vga_palette.c
+ramstage-$(CONFIG_VGA) += vga_font_8x16.c
+ramstage-$(CONFIG_VGA) += vga.c
+
+endif