mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 17:53:56 -06:00
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>
This commit is contained in:
parent
026334610f
commit
6ba97c48a6
3 changed files with 40 additions and 29 deletions
|
@ -3,5 +3,6 @@ mips_softmmu_ss.add(files(
|
|||
'cp0.c',
|
||||
'cp0_timer.c',
|
||||
'machine.c',
|
||||
'mips-qmp-cmds.c',
|
||||
'physaddr.c',
|
||||
))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue