summaryrefslogtreecommitdiff
path: root/target/openrisc/meson.build
blob: 84322086eccc57bd14b35649af5d87d2c641d905 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
gen = decodetree.process('insns.decode')

openrisc_ss = ss.source_set()
openrisc_ss.add(gen)
openrisc_ss.add(files(
  'cpu.c',
  'disas.c',
  'exception.c',
  'exception_helper.c',
  'fpu_helper.c',
  'gdbstub.c',
  'interrupt_helper.c',
  'sys_helper.c',
  'translate.c',
))

openrisc_softmmu_ss = ss.source_set()
openrisc_softmmu_ss.add(files(
  'interrupt.c',
  'machine.c',
  'mmu.c',
))

target_arch += {'openrisc': openrisc_ss}
target_softmmu_arch += {'openrisc': openrisc_softmmu_ss}