A significant part of hyperv.c is not actually tied to x86, and can be moved to hw/. This will allow to maintain most of Hyper-V and VMBus target-independent, and to avoid conflicts with inclusion of arch-specific headers down the road in VMBus implementation. Also this stuff can now be opt-out with CONFIG_HYPERV. Signed-off-by: Roman Kagan <rkagan@virtuozzo.com> Message-Id: <20180921082041.29380-4-rkagan@virtuozzo.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
42 lines
1.6 KiB
Makefile
42 lines
1.6 KiB
Makefile
devices-dirs-$(call land,$(CONFIG_VIRTFS),$(call lor,$(CONFIG_VIRTIO),$(CONFIG_XEN))) += 9pfs/
|
|
devices-dirs-$(CONFIG_SOFTMMU) += acpi/
|
|
devices-dirs-$(CONFIG_SOFTMMU) += adc/
|
|
devices-dirs-$(CONFIG_SOFTMMU) += audio/
|
|
devices-dirs-$(CONFIG_SOFTMMU) += block/
|
|
devices-dirs-$(CONFIG_SOFTMMU) += bt/
|
|
devices-dirs-$(CONFIG_SOFTMMU) += char/
|
|
devices-dirs-$(CONFIG_SOFTMMU) += cpu/
|
|
devices-dirs-$(CONFIG_SOFTMMU) += display/
|
|
devices-dirs-$(CONFIG_SOFTMMU) += dma/
|
|
devices-dirs-$(CONFIG_SOFTMMU) += gpio/
|
|
devices-dirs-$(CONFIG_HYPERV) += hyperv/
|
|
devices-dirs-$(CONFIG_SOFTMMU) += i2c/
|
|
devices-dirs-$(CONFIG_SOFTMMU) += ide/
|
|
devices-dirs-$(CONFIG_SOFTMMU) += input/
|
|
devices-dirs-$(CONFIG_SOFTMMU) += intc/
|
|
devices-dirs-$(CONFIG_IPACK) += ipack/
|
|
devices-dirs-$(CONFIG_IPMI) += ipmi/
|
|
devices-dirs-$(CONFIG_SOFTMMU) += isa/
|
|
devices-dirs-$(CONFIG_SOFTMMU) += misc/
|
|
devices-dirs-$(CONFIG_SOFTMMU) += net/
|
|
devices-dirs-$(CONFIG_SOFTMMU) += rdma/
|
|
devices-dirs-$(CONFIG_SOFTMMU) += nvram/
|
|
devices-dirs-$(CONFIG_SOFTMMU) += pci/
|
|
devices-dirs-$(CONFIG_PCI) += pci-bridge/ pci-host/
|
|
devices-dirs-$(CONFIG_SOFTMMU) += pcmcia/
|
|
devices-dirs-$(CONFIG_SCSI) += scsi/
|
|
devices-dirs-$(CONFIG_SOFTMMU) += sd/
|
|
devices-dirs-$(CONFIG_SOFTMMU) += ssi/
|
|
devices-dirs-$(CONFIG_SOFTMMU) += timer/
|
|
devices-dirs-$(CONFIG_TPM) += tpm/
|
|
devices-dirs-$(CONFIG_SOFTMMU) += usb/
|
|
devices-dirs-$(CONFIG_SOFTMMU) += vfio/
|
|
devices-dirs-$(CONFIG_SOFTMMU) += virtio/
|
|
devices-dirs-$(CONFIG_SOFTMMU) += watchdog/
|
|
devices-dirs-$(CONFIG_SOFTMMU) += xen/
|
|
devices-dirs-$(CONFIG_MEM_HOTPLUG) += mem/
|
|
devices-dirs-$(CONFIG_SOFTMMU) += smbios/
|
|
devices-dirs-y += core/
|
|
common-obj-y += $(devices-dirs-y)
|
|
obj-y += $(devices-dirs-y)
|