hw/pci-host: Do not build gpex-acpi.c if GPEX is not selected
commit4872fdf71b52288105ae5513f892f39633bec28c
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Sun, 25 Apr 2021 18:21:24 +0000 (25 20:21 +0200)
committerLaurent Vivier <laurent@vivier.eu>
Thu, 13 May 2021 16:12:40 +0000 (13 18:12 +0200)
tree94f2ced20b7b6ccf4b19eb4846c4355b7773e241
parentb51d44677193002926a7519df89153df847f5f6b
hw/pci-host: Do not build gpex-acpi.c if GPEX is not selected

Since its introduction in commit 5b85eabe68f ("acpi: add
acpi_dsdt_add_gpex") we build gpex-acpi.c if ACPI is selected,
even if the GPEX_HOST device isn't build. Add the missing
Kconfig dependency.

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Gerd Hoffmann <kraxel@redhat.com>
Message-Id: <20210425182124.3735214-1-f4bug@amsat.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
hw/pci-host/meson.build