aboutsummaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2013-02-04 11:59:48 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2013-04-08 18:13:11 +0200
commit1fd6bb44ed7ddd875e0d37d17685621f1ef27823 (patch)
tree9c76dab96b1c03dea3b1bf40f74d1e7659b0c2b5 /hw
parent0d09e41a51aa0752b1ce525ce084f7cd210e461b (diff)
downloadqemu-1fd6bb44ed7ddd875e0d37d17685621f1ef27823.zip
qemu-1fd6bb44ed7ddd875e0d37d17685621f1ef27823.tar.gz
qemu-1fd6bb44ed7ddd875e0d37d17685621f1ef27823.tar.bz2
hw: make subdirectories for devices
Prepare the new directory structure. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw')
-rw-r--r--hw/Makefile.objs34
-rw-r--r--hw/acpi/Makefile.objs0
-rw-r--r--hw/audio/Makefile.objs0
-rw-r--r--hw/block/Makefile.objs0
-rw-r--r--hw/bt/Makefile.objs0
-rw-r--r--hw/char/Makefile.objs0
-rw-r--r--hw/core/Makefile.objs0
-rw-r--r--hw/cpu/Makefile.objs0
-rw-r--r--hw/display/Makefile.objs0
-rw-r--r--hw/dma/Makefile.objs0
-rw-r--r--hw/gpio/Makefile.objs0
-rw-r--r--hw/i2c/Makefile.objs0
-rw-r--r--hw/input/Makefile.objs0
-rw-r--r--hw/intc/Makefile.objs0
-rw-r--r--hw/isa/Makefile.objs0
-rw-r--r--hw/misc/Makefile.objs0
-rw-r--r--hw/net/Makefile.objs0
-rw-r--r--hw/nvram/Makefile.objs0
-rw-r--r--hw/scsi/Makefile.objs0
-rw-r--r--hw/sd/Makefile.objs0
-rw-r--r--hw/ssi/Makefile.objs0
-rw-r--r--hw/timer/Makefile.objs0
-rw-r--r--hw/virtio/Makefile.objs0
-rw-r--r--hw/watchdog/Makefile.objs0
-rw-r--r--hw/xen/Makefile.objs0
25 files changed, 31 insertions, 3 deletions
diff --git a/hw/Makefile.objs b/hw/Makefile.objs
index d0b2ecb..0a92ff9 100644
--- a/hw/Makefile.objs
+++ b/hw/Makefile.objs
@@ -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
diff --git a/hw/acpi/Makefile.objs b/hw/acpi/Makefile.objs
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/hw/acpi/Makefile.objs
diff --git a/hw/audio/Makefile.objs b/hw/audio/Makefile.objs
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/hw/audio/Makefile.objs
diff --git a/hw/block/Makefile.objs b/hw/block/Makefile.objs
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/hw/block/Makefile.objs
diff --git a/hw/bt/Makefile.objs b/hw/bt/Makefile.objs
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/hw/bt/Makefile.objs
diff --git a/hw/char/Makefile.objs b/hw/char/Makefile.objs
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/hw/char/Makefile.objs
diff --git a/hw/core/Makefile.objs b/hw/core/Makefile.objs
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/hw/core/Makefile.objs
diff --git a/hw/cpu/Makefile.objs b/hw/cpu/Makefile.objs
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/hw/cpu/Makefile.objs
diff --git a/hw/display/Makefile.objs b/hw/display/Makefile.objs
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/hw/display/Makefile.objs
diff --git a/hw/dma/Makefile.objs b/hw/dma/Makefile.objs
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/hw/dma/Makefile.objs
diff --git a/hw/gpio/Makefile.objs b/hw/gpio/Makefile.objs
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/hw/gpio/Makefile.objs
diff --git a/hw/i2c/Makefile.objs b/hw/i2c/Makefile.objs
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/hw/i2c/Makefile.objs
diff --git a/hw/input/Makefile.objs b/hw/input/Makefile.objs
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/hw/input/Makefile.objs
diff --git a/hw/intc/Makefile.objs b/hw/intc/Makefile.objs
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/hw/intc/Makefile.objs
diff --git a/hw/isa/Makefile.objs b/hw/isa/Makefile.objs
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/hw/isa/Makefile.objs
diff --git a/hw/misc/Makefile.objs b/hw/misc/Makefile.objs
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/hw/misc/Makefile.objs
diff --git a/hw/net/Makefile.objs b/hw/net/Makefile.objs
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/hw/net/Makefile.objs
diff --git a/hw/nvram/Makefile.objs b/hw/nvram/Makefile.objs
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/hw/nvram/Makefile.objs
diff --git a/hw/scsi/Makefile.objs b/hw/scsi/Makefile.objs
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/hw/scsi/Makefile.objs
diff --git a/hw/sd/Makefile.objs b/hw/sd/Makefile.objs
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/hw/sd/Makefile.objs
diff --git a/hw/ssi/Makefile.objs b/hw/ssi/Makefile.objs
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/hw/ssi/Makefile.objs
diff --git a/hw/timer/Makefile.objs b/hw/timer/Makefile.objs
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/hw/timer/Makefile.objs
diff --git a/hw/virtio/Makefile.objs b/hw/virtio/Makefile.objs
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/hw/virtio/Makefile.objs
diff --git a/hw/watchdog/Makefile.objs b/hw/watchdog/Makefile.objs
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/hw/watchdog/Makefile.objs
diff --git a/hw/xen/Makefile.objs b/hw/xen/Makefile.objs
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/hw/xen/Makefile.objs