hw: make subdirectories for devices

Prepare the new directory structure.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
Paolo Bonzini 2013-02-04 11:59:48 +01:00
parent 0d09e41a51
commit 1fd6bb44ed
25 changed files with 31 additions and 3 deletions

View File

@ -3,8 +3,38 @@ common-obj-y += qdev.o qdev-properties.o
# irq.o needed for qdev GPIO handling:
common-obj-y += irq.o
devices-dirs-$(CONFIG_REALLY_VIRTFS) += 9pfs/
devices-dirs-$(CONFIG_ACPI) += acpi/
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_SOFTMMU) += i2c/
devices-dirs-$(CONFIG_SOFTMMU) += ide/
devices-dirs-$(CONFIG_SOFTMMU) += input/
devices-dirs-$(CONFIG_SOFTMMU) += intc/
devices-dirs-$(CONFIG_SOFTMMU) += isa/
devices-dirs-$(CONFIG_SOFTMMU) += misc/
devices-dirs-$(CONFIG_SOFTMMU) += net/
devices-dirs-$(CONFIG_SOFTMMU) += nvram/
devices-dirs-$(CONFIG_SOFTMMU) += pci/
devices-dirs-$(CONFIG_SOFTMMU) += scsi/
devices-dirs-$(CONFIG_SOFTMMU) += sd/
devices-dirs-$(CONFIG_SOFTMMU) += ssi/
devices-dirs-$(CONFIG_SOFTMMU) += timer/
devices-dirs-$(CONFIG_SOFTMMU) += usb/
devices-dirs-$(CONFIG_SOFTMMU) += virtio/
devices-dirs-$(CONFIG_SOFTMMU) += watchdog/
devices-dirs-$(CONFIG_SOFTMMU) += xen/
devices-dirs-y += core/
common-obj-y += $(devices-dirs-y)
obj-y += $(devices-dirs-y)
ifeq ($(CONFIG_SOFTMMU),y)
common-obj-y += usb/ ide/ pci/
common-obj-y += loader.o
common-obj-$(CONFIG_VIRTIO) += virtio-console.o
common-obj-$(CONFIG_VIRTIO) += virtio-rng.o
@ -167,7 +197,6 @@ common-obj-$(CONFIG_SOUND) += $(sound-obj-y)
common-obj-$(CONFIG_REALLY_VIRTFS) += 9pfs/
common-obj-y += usb/
common-obj-$(CONFIG_PTIMER) += ptimer.o
common-obj-$(CONFIG_MAX7310) += max7310.o
common-obj-$(CONFIG_WM8750) += wm8750.o
@ -207,7 +236,6 @@ obj-$(CONFIG_VIRTIO) += virtio.o virtio-blk.o virtio-balloon.o virtio-net.o
obj-$(CONFIG_VIRTIO) += virtio-serial-bus.o virtio-scsi.o
obj-$(CONFIG_SOFTMMU) += vhost_net.o
obj-$(CONFIG_VHOST_NET) += vhost.o
obj-$(CONFIG_REALLY_VIRTFS) += 9pfs/
obj-$(CONFIG_VGA) += vga.o
# Inter-VM PCI shared memory & VFIO PCI device assignment

0
hw/acpi/Makefile.objs Normal file
View File

0
hw/audio/Makefile.objs Normal file
View File

0
hw/block/Makefile.objs Normal file
View File

0
hw/bt/Makefile.objs Normal file
View File

0
hw/char/Makefile.objs Normal file
View File

0
hw/core/Makefile.objs Normal file
View File

0
hw/cpu/Makefile.objs Normal file
View File

0
hw/display/Makefile.objs Normal file
View File

0
hw/dma/Makefile.objs Normal file
View File

0
hw/gpio/Makefile.objs Normal file
View File

0
hw/i2c/Makefile.objs Normal file
View File

0
hw/input/Makefile.objs Normal file
View File

0
hw/intc/Makefile.objs Normal file
View File

0
hw/isa/Makefile.objs Normal file
View File

0
hw/misc/Makefile.objs Normal file
View File

0
hw/net/Makefile.objs Normal file
View File

0
hw/nvram/Makefile.objs Normal file
View File

0
hw/scsi/Makefile.objs Normal file
View File

0
hw/sd/Makefile.objs Normal file
View File

0
hw/ssi/Makefile.objs Normal file
View File

0
hw/timer/Makefile.objs Normal file
View File

0
hw/virtio/Makefile.objs Normal file
View File

View File

0
hw/xen/Makefile.objs Normal file
View File