summaryrefslogtreecommitdiff
path: root/src/mainboard/emulation/qemu-riscv/Makefile.mk
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/emulation/qemu-riscv/Makefile.mk')
-rw-r--r--src/mainboard/emulation/qemu-riscv/Makefile.mk16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/mainboard/emulation/qemu-riscv/Makefile.mk b/src/mainboard/emulation/qemu-riscv/Makefile.mk
new file mode 100644
index 0000000000..1a8342d2ca
--- /dev/null
+++ b/src/mainboard/emulation/qemu-riscv/Makefile.mk
@@ -0,0 +1,16 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
+bootblock-y += uart.c
+bootblock-y += rom_media.c
+bootblock-y += clint.c
+
+romstage-y += romstage.c
+romstage-y += uart.c
+romstage-y += rom_media.c
+romstage-y += clint.c
+
+ramstage-y += uart.c
+ramstage-y += rom_media.c
+ramstage-y += clint.c
+
+CPPFLAGS_common += -I$(src)/mainboard/$(MAINBOARDDIR)/include