aboutsummaryrefslogtreecommitdiff
path: root/hw/loongarch/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'hw/loongarch/meson.build')
-rw-r--r--hw/loongarch/meson.build4
1 files changed, 4 insertions, 0 deletions
diff --git a/hw/loongarch/meson.build b/hw/loongarch/meson.build
new file mode 100644
index 0000000000..cecb1a5d65
--- /dev/null
+++ b/hw/loongarch/meson.build
@@ -0,0 +1,4 @@
+loongarch_ss = ss.source_set()
+loongarch_ss.add(when: 'CONFIG_LOONGARCH_VIRT', if_true: files('loongson3.c'))
+
+hw_arch += {'loongarch': loongarch_ss}