@samitouri / QOSamiQemu / commits / 1c99c7d91e

hw/acpi: Always link QOM interfaces with system binaries

Now that acpi_interface.c only contains QOM interfaces, unconditionally link it with system binaries, regardless of whether CONFIG_ACPI is set or not. It is now easier to deselect hardware models depending on ACPI. Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Igor Mammedov <imammedo@redhat.com> Message-Id: <20260225035739.42848-5-philmd@linaro.org>

Philippe Mathieu-Daudé committed Feb 24, 2026 at 13:24 UTC 1c99c7d91e3f6998b12603da9a14064b60b63e80
1 file changed +1 -2
hw/acpi/meson.build
+1 -2
@@ -1,6 +1,5 @@
1 acpi_ss = ss.source_set()
2 acpi_ss.add(files(
3 - 'acpi_interface.c',
3 'aml-build.c',
4 'bios-linker-loader.c',
5 'core.c',
@@ -36,4 +35,4 @@ system_ss.add(when: 'CONFIG_ACPI_PCI_BRIDGE', if_false: files('pci-bridge-stub.c
35 system_ss.add_all(when: 'CONFIG_ACPI', if_true: acpi_ss)
36 system_ss.add(when: 'CONFIG_GHES_CPER', if_true: files('ghes_cper.c'))
37 system_ss.add(when: 'CONFIG_GHES_CPER', if_false: files('ghes_cper_stub.c'))
39 -system_ss.add(files('acpi-qmp-cmds.c'))
38 +system_ss.add(files('acpi-qmp-cmds.c', 'acpi_interface.c'))