diff options
Diffstat (limited to 'hw/openrisc/meson.build')
-rw-r--r-- | hw/openrisc/meson.build | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/hw/openrisc/meson.build b/hw/openrisc/meson.build new file mode 100644 index 00000000..2dbc6365 --- /dev/null +++ b/hw/openrisc/meson.build @@ -0,0 +1,7 @@ +openrisc_ss = ss.source_set() +openrisc_ss.add(files('cputimer.c')) +openrisc_ss.add(files('boot.c')) +openrisc_ss.add(when: 'CONFIG_OR1K_SIM', if_true: [files('openrisc_sim.c'), fdt]) +openrisc_ss.add(when: 'CONFIG_OR1K_VIRT', if_true: [files('virt.c'), fdt]) + +hw_arch += {'openrisc': openrisc_ss} |