summaryrefslogtreecommitdiffstats
path: root/hw/openrisc/meson.build
blob: 2dbc6365bb7cead915c5d66499d67b77fc6c004a (plain) (blame)
1
2
3
4
5
6
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}