summaryrefslogtreecommitdiff
path: root/hw/xtensa/meson.build
blob: 1d5835df4bf4b0efdf5be01017da7456bf1a1ff1 (plain)
1
2
3
4
5
6
7
8
9
10
11
xtensa_ss = ss.source_set()
xtensa_ss.add(files(
  'mx_pic.c',
  'pic_cpu.c',
  'xtensa_memory.c',
))
xtensa_ss.add(when: 'CONFIG_XTENSA_SIM', if_true: files('sim.c'))
xtensa_ss.add(when: 'CONFIG_XTENSA_VIRT', if_true: files('virt.c'))
xtensa_ss.add(when: 'CONFIG_XTENSA_XTFPGA', if_true: files('xtfpga.c'))

hw_arch += {'xtensa': xtensa_ss}