878cc6773a
Tested-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> Acked-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
27 lines
593 B
Meson
27 lines
593 B
Meson
gen = decodetree.process('insns.decode')
|
|
|
|
sparc_ss = ss.source_set()
|
|
sparc_ss.add(gen)
|
|
sparc_ss.add(files(
|
|
'cc_helper.c',
|
|
'cpu.c',
|
|
'fop_helper.c',
|
|
'gdbstub.c',
|
|
'helper.c',
|
|
'ldst_helper.c',
|
|
'translate.c',
|
|
'win_helper.c',
|
|
))
|
|
sparc_ss.add(when: 'TARGET_SPARC', if_true: files('int32_helper.c'))
|
|
sparc_ss.add(when: 'TARGET_SPARC64', if_true: files('int64_helper.c', 'vis_helper.c'))
|
|
|
|
sparc_system_ss = ss.source_set()
|
|
sparc_system_ss.add(files(
|
|
'machine.c',
|
|
'mmu_helper.c',
|
|
'monitor.c',
|
|
))
|
|
|
|
target_arch += {'sparc': sparc_ss}
|
|
target_system_arch += {'sparc': sparc_system_ss}
|