hw/core: Move numa.c into the target independent source set
PATCH 1/1 hw/core: Move numa.c into the target independent source set
There is nothing that depends on target specific macros in this file, so we can move it to the common source set to avoid that we have to compile this file multiple times (one time for each target).
Signed-off-by Thomas Huth <[email protected]>
--- hw/core/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
hw/core/meson.build +1 -1
@@ -44,6 +44,7 @@ softmmu_ss.add(files( 'machine.c', 'nmi.c', 'null-machine.c', + 'numa.c', 'qdev-fw.c', 'qdev-properties-system.c', 'sysbus.c',
@@ -53,5 +54,4 @@ softmmu_ss.add(files( specific_ss.add(when: 'CONFIG_SOFTMMU', if_true: files( 'machine-qmp-cmds.c', - 'numa.c', ))
Signature · 1 line
2.31.1
Quoted 9 lines · Thomas Huth
There is nothing that depends on target specific macros in this file, so we can move it to the common source set to avoid that we have to compile this file multiple times (one time for each target).
Signed-off-by Thomas Huth <[email protected]>--- hw/core/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Reviewed-by Philippe Mathieu-Daudé <[email protected]>