qemu/target/mips/sysemu/meson.build
Philippe Mathieu-Daudé 6ba97c48a6 target/mips: Restrict 'qapi-commands-machine.h' to system emulation
Since commit a0e61807a3 ("qapi: Remove QMP events and commands from
user-mode builds") we don't generate the "qapi-commands-machine.h"
header in a user-emulation-only build.

Extract the QMP functions from cpu.c (which is always compiled) to
the new 'sysemu/mips-qmp-cmds.c' unit (which is only compiled when
system emulation is selected).

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20221219211034.70491-4-philmd@linaro.org>
2023-01-13 16:22:57 +01:00

9 lines
122 B
Meson

mips_softmmu_ss.add(files(
'addr.c',
'cp0.c',
'cp0_timer.c',
'machine.c',
'mips-qmp-cmds.c',
'physaddr.c',
))