aboutsummaryrefslogtreecommitdiff
path: root/hw/sparc/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'hw/sparc/meson.build')
-rw-r--r--hw/sparc/meson.build6
1 files changed, 6 insertions, 0 deletions
diff --git a/hw/sparc/meson.build b/hw/sparc/meson.build
new file mode 100644
index 0000000000..19c442c90d
--- /dev/null
+++ b/hw/sparc/meson.build
@@ -0,0 +1,6 @@
+sparc_ss = ss.source_set()
+sparc_ss.add(when: 'CONFIG_LEON3', if_true: files('leon3.c'))
+sparc_ss.add(when: 'CONFIG_SUN4M', if_true: files('sun4m.c'))
+sparc_ss.add(when: 'CONFIG_SUN4M', if_true: files('sun4m_iommu.c'))
+
+hw_arch += {'sparc': sparc_ss}