qemu/hw/display/Kconfig
Paolo Bonzini 7c28b925b7 build: convert pci.mak to Kconfig
Instead of including the same list of devices for each target,
set CONFIG_PCI to true, and make the devices default to present
whenever PCI is available.  However, s390x does not want all the
PCI devices, so there is a separate symbol to enable them.

Done mostly with the following script:

  while read i; do
     i=${i%=y}; i=${i#CONFIG_}
     sed -i -e'/^config '$i'$/!b' -en \
            -e'a\' -e'    default y if PCI_DEVICES\' -e'    depends on PCI' \
          `grep -lw $i hw/*/Kconfig`
  done < default-configs/pci.mak

followed by replacing a few "depends on" clauses with "select"
whenever the symbol is not really related to PCI.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Yang Zhong <yang.zhong@intel.com>
Cc: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20190123065618.3520-31-yang.zhong@intel.com>
Acked-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2019-03-07 21:45:53 +01:00

97 lines
1.0 KiB
Plaintext

config EDID
bool
config FW_CFG_DMA
bool
config ADS7846
bool
config VGA_CIRRUS
bool
default y if PCI_DEVICES
depends on PCI
select VGA
config G364FB
bool
config JAZZ_LED
bool
config PL110
bool
config SII9022
bool
config SSD0303
bool
config SSD0323
bool
config VGA_PCI
bool
default y if PCI_DEVICES
depends on PCI
select VGA
config VGA_ISA
bool
config VGA_ISA_MM
bool
config VMWARE_VGA
bool
default y if PCI_DEVICES
depends on PCI
select VGA
config BOCHS_DISPLAY
bool
default y if PCI_DEVICES
depends on PCI
select VGA
config BLIZZARD
bool
config FRAMEBUFFER
bool
config MILKYMIST_TMU2
bool
default y
depends on OPENGL && X11
config SM501
bool
config TCX
bool
config CG3
bool
config VGA
bool
config QXL
bool
depends on SPICE && PCI
select VGA
config VIRTIO_GPU
bool
config VIRTIO_VGA
bool
default y if PCI_DEVICES
depends on VIRTIO_PCI
select VGA
config DPCD
bool