mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 07:13:54 -06:00
disas: Enable capstone disassembly for s390x
Enable s390x, aka SYSZ, in the git submodule build. Set the capstone parameters for both s390x host and guest. Tested-by: Alex Bennée <alex.bennee@linaro.org> Reviewed-by: Alex Bennée <alex.bennee@linaro.org> Acked-by: Thomas Huth <thuth@redhat.com> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
parent
f343346b14
commit
3d56284524
3 changed files with 18 additions and 0 deletions
11
meson.build
11
meson.build
|
@ -795,6 +795,17 @@ if capstone_opt == 'internal'
|
|||
)
|
||||
endif
|
||||
|
||||
if 'CONFIG_S390_DIS' in config_all_disas
|
||||
capstone_data.set('CAPSTONE_HAS_SYSZ', '1')
|
||||
capstone_files += files(
|
||||
'capstone/arch/SystemZ/SystemZDisassembler.c',
|
||||
'capstone/arch/SystemZ/SystemZInstPrinter.c',
|
||||
'capstone/arch/SystemZ/SystemZMapping.c',
|
||||
'capstone/arch/SystemZ/SystemZModule.c',
|
||||
'capstone/arch/SystemZ/SystemZMCTargetDesc.c'
|
||||
)
|
||||
endif
|
||||
|
||||
if 'CONFIG_I386_DIS' in config_all_disas
|
||||
capstone_data.set('CAPSTONE_HAS_X86', 1)
|
||||
capstone_files += files(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue