d641ec30be
Now that boards are enabled by default and the "CONFIG_FOO=y" entries are gone from configs/devices/, there cannot be any more a conflicts between the default contents of configs/devices/ and a failed "depends on" clause. With this change, each individual board or target can express whether it needs FDT. It can then include the common code in the build via "select DEVICE_TREE", which will also as tell meson to link with libfdt. This allows building non-microvm x86 emulators without having libfdt available. Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
26 lines
557 B
Plaintext
26 lines
557 B
Plaintext
config LOONGARCH_VIRT
|
|
bool
|
|
default y
|
|
depends on LOONGARCH64 && FDT
|
|
select DEVICE_TREE
|
|
select PCI
|
|
select PCI_EXPRESS_GENERIC_BRIDGE
|
|
imply VIRTIO_VGA
|
|
imply PCI_DEVICES
|
|
imply NVDIMM
|
|
select SERIAL
|
|
select VIRTIO_PCI
|
|
select PLATFORM_BUS
|
|
select LOONGSON_IPI
|
|
select LOONGARCH_PCH_PIC
|
|
select LOONGARCH_PCH_MSI
|
|
select LOONGARCH_EXTIOI
|
|
select LS7A_RTC
|
|
select SMBIOS
|
|
select ACPI_PCI
|
|
select ACPI_HW_REDUCED
|
|
select FW_CFG_DMA
|
|
select DIMM
|
|
select PFLASH_CFI01
|
|
select ACPI_HMAT
|