aboutsummaryrefslogtreecommitdiffstats
path: root/hw/nios2/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'hw/nios2/meson.build')
-rw-r--r--hw/nios2/meson.build6
1 files changed, 6 insertions, 0 deletions
diff --git a/hw/nios2/meson.build b/hw/nios2/meson.build
new file mode 100644
index 000000000..6c58e8082
--- /dev/null
+++ b/hw/nios2/meson.build
@@ -0,0 +1,6 @@
+nios2_ss = ss.source_set()
+nios2_ss.add(files('boot.c'))
+nios2_ss.add(when: 'CONFIG_NIOS2_10M50', if_true: files('10m50_devboard.c'))
+nios2_ss.add(when: 'CONFIG_NIOS2_GENERIC_NOMMU', if_true: files('generic_nommu.c'))
+
+hw_arch += {'nios2': nios2_ss}