Create specific config option for "platform-bus"
authorDavid Gibson <david@gibson.dropbear.id.au>
Fri, 27 Feb 2015 06:04:36 +0000 (17:04 +1100)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 27 Feb 2015 14:17:42 +0000 (15:17 +0100)
Currently the "platform-bus" device is included for all softmmu builds.
This bridge is intended for use on any platforms that require dynamic
creation of sysbus devices.  However, at present it is used only for the
PPC E500 target, with plans for the ARM "virt" target in the immediate
future.

To avoid a not-very-useful entry appearing in "qemu -device ?" output on
other targets, this patch makes a specific config option for platform-bus
and enables it (for now) only on ppc configurations which include E500
and on ARM (which always includes the "virt" target).

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Message-Id: <1425017077-18487-3-git-send-email-david@gibson.dropbear.id.au>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
default-configs/arm-softmmu.mak
default-configs/ppc-softmmu.mak
default-configs/ppc64-softmmu.mak
hw/core/Makefile.objs

index 6ee9b43cfda2ca587caf42f9e97fca690f9e7cba..149ae1b59521e5f2946246d2a3befd8aab21c560 100644 (file)
@@ -34,6 +34,7 @@ CONFIG_PFLASH_CFI02=y
 CONFIG_MICRODRIVE=y
 CONFIG_USB_MUSB=y
 CONFIG_USB_EHCI_SYSBUS=y
+CONFIG_PLATFORM_BUS=y
 
 CONFIG_ARM11MPCORE=y
 CONFIG_A9MPCORE=y
index aebfab92eb8523541cb766e96f19b124cc2efc71..4b60e699ff72339f1c06492e1342dff09f5fd6f8 100644 (file)
@@ -43,6 +43,7 @@ CONFIG_PREP=y
 CONFIG_MAC=y
 CONFIG_E500=y
 CONFIG_OPENPIC_KVM=$(and $(CONFIG_E500),$(CONFIG_KVM))
+CONFIG_PLATFORM_BUS=y
 CONFIG_ETSEC=y
 CONFIG_LIBDECNUMBER=y
 # For PReP
index f195a8721ad00093d27286450dce9c3f91e8bef7..de71e41b003dcccd5acfd34d46e595e80aa6347e 100644 (file)
@@ -44,6 +44,7 @@ CONFIG_PREP=y
 CONFIG_MAC=y
 CONFIG_E500=y
 CONFIG_OPENPIC_KVM=$(and $(CONFIG_E500),$(CONFIG_KVM))
+CONFIG_PLATFORM_BUS=y
 CONFIG_ETSEC=y
 CONFIG_LIBDECNUMBER=y
 # For pSeries
index 9dce1bc53c6218cff73a1c43d8cb8dc8c3e05904..abb3560bea1616fe32c9ef8d311c65bf1a4d0d9a 100644 (file)
@@ -14,4 +14,4 @@ common-obj-$(CONFIG_SOFTMMU) += machine.o
 common-obj-$(CONFIG_SOFTMMU) += null-machine.o
 common-obj-$(CONFIG_SOFTMMU) += loader.o
 common-obj-$(CONFIG_SOFTMMU) += qdev-properties-system.o
-common-obj-$(CONFIG_SOFTMMU) += platform-bus.o
+common-obj-$(CONFIG_PLATFORM_BUS) += platform-bus.o