e197de50c6
Both devices seem to be specific to the ARM platform. It's confusing for the users if they show up on other target architectures, too (e.g. when the user runs QEMU with "-device ?" to get a list of supported devices). Thus let's introduce proper configuration switches so that the devices are only compiled and included when they are really required. Signed-off-by: Thomas Huth <thuth@redhat.com> Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
9 lines
261 B
Makefile
9 lines
261 B
Makefile
ifeq ($(CONFIG_LINUX), y)
|
|
obj-$(CONFIG_SOFTMMU) += common.o
|
|
obj-$(CONFIG_PCI) += pci.o pci-quirks.o
|
|
obj-$(CONFIG_SOFTMMU) += platform.o
|
|
obj-$(CONFIG_VFIO_XGMAC) += calxeda-xgmac.o
|
|
obj-$(CONFIG_VFIO_AMD_XGBE) += amd-xgbe.o
|
|
obj-$(CONFIG_SOFTMMU) += spapr.o
|
|
endif
|