mirror of
https://github.com/qemu/qemu.git
synced 2024-12-02 08:13:34 +08:00
0e947a89ce
The spapr-rng device is suboptimal when compared to virtio-rng, so users might want to disable it in their builds. Thus let's introduce a proper CONFIG switch to allow us to compile QEMU without this device. The function spapr_rng_populate_dt is required for linking, so move it to a different location. Signed-off-by: Thomas Huth <thuth@redhat.com> Reviewed-by: Greg Kurz <groug@kaod.org> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
22 lines
435 B
Makefile
22 lines
435 B
Makefile
# Default configuration for ppc64-softmmu
|
|
|
|
# Include all 32-bit boards
|
|
include ppc-softmmu.mak
|
|
|
|
# For PowerNV
|
|
CONFIG_POWERNV=y
|
|
CONFIG_IPMI=y
|
|
CONFIG_IPMI_LOCAL=y
|
|
CONFIG_IPMI_EXTERN=y
|
|
CONFIG_ISA_IPMI_BT=y
|
|
|
|
# For pSeries
|
|
CONFIG_PSERIES=y
|
|
CONFIG_VIRTIO_VGA=y
|
|
CONFIG_XICS=$(CONFIG_PSERIES)
|
|
CONFIG_XICS_SPAPR=$(CONFIG_PSERIES)
|
|
CONFIG_XICS_KVM=$(call land,$(CONFIG_PSERIES),$(CONFIG_KVM))
|
|
CONFIG_MEM_DEVICE=y
|
|
CONFIG_DIMM=y
|
|
CONFIG_SPAPR_RNG=y
|