hw/core: Move machine-qmp-cmds.c into the target independent source set
authorThomas Huth <thuth@redhat.com>
Mon, 24 Apr 2023 16:04:34 +0000 (18:04 +0200)
committerThomas Huth <thuth@redhat.com>
Tue, 16 May 2023 07:14:18 +0000 (09:14 +0200)
commit89c81b3d4c1ccafa22f58a6169c9410003654b8e
tree3fbbef7a25b01398b56d384baac0a5b84d9bb63e
parent1077f50b23065a1d07cbbc6bad1141d50a5d25b9
hw/core: Move machine-qmp-cmds.c into the target independent source set

The only target specific code that is left in here are two spots that
use TARGET_NAME. Change them to use the new target_name() wrapper
function instead, so we can move the file into the common softmmu_ss
source set. That way we only have to compile this file once, and not
for each target anymore.

Message-Id: <20230424160434.331175-4-thuth@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
hw/core/machine-qmp-cmds.c
hw/core/meson.build