build: convert libhw to nested Makefile.objs

After this patch, the libhw* directories will have a hierarchy
that mimics the source tree.  This is useful because we do have
a couple of files there that are in the top source directory.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
Paolo Bonzini 2012-05-29 11:10:55 +02:00
parent 3d5a3f9a7f
commit be1029ec30
7 changed files with 150 additions and 147 deletions

10
hw/ide/Makefile.objs Normal file
View file

@ -0,0 +1,10 @@
hw-obj-$(CONFIG_IDE_CORE) += core.o atapi.o
hw-obj-$(CONFIG_IDE_QDEV) += qdev.o
hw-obj-$(CONFIG_IDE_PCI) += pci.o
hw-obj-$(CONFIG_IDE_ISA) += isa.o
hw-obj-$(CONFIG_IDE_PIIX) += piix.o
hw-obj-$(CONFIG_IDE_CMD646) += cmd646.o
hw-obj-$(CONFIG_IDE_MACIO) += macio.o
hw-obj-$(CONFIG_IDE_VIA) += via.o
hw-obj-$(CONFIG_AHCI) += ahci.o
hw-obj-$(CONFIG_AHCI) += ich.o