Paolo Bonzini | be1029e | 2012-05-29 11:10:55 +0200 | [diff] [blame] | 1 | hw-obj-y = usb/ ide/ |
| 2 | hw-obj-y += loader.o |
| 3 | hw-obj-$(CONFIG_VIRTIO) += virtio-console.o |
| 4 | hw-obj-$(CONFIG_VIRTIO_PCI) += virtio-pci.o |
| 5 | hw-obj-y += fw_cfg.o |
| 6 | hw-obj-$(CONFIG_PCI) += pci.o pci_bridge.o pci_bridge_dev.o |
| 7 | hw-obj-$(CONFIG_PCI) += msix.o msi.o |
| 8 | hw-obj-$(CONFIG_PCI) += shpc.o |
| 9 | hw-obj-$(CONFIG_PCI) += slotid_cap.o |
| 10 | hw-obj-$(CONFIG_PCI) += pci_host.o pcie_host.o |
| 11 | hw-obj-$(CONFIG_PCI) += ioh3420.o xio3130_upstream.o xio3130_downstream.o |
| 12 | hw-obj-y += watchdog.o |
| 13 | hw-obj-$(CONFIG_ISA_MMIO) += isa_mmio.o |
| 14 | hw-obj-$(CONFIG_ECC) += ecc.o |
| 15 | hw-obj-$(CONFIG_NAND) += nand.o |
| 16 | hw-obj-$(CONFIG_PFLASH_CFI01) += pflash_cfi01.o |
| 17 | hw-obj-$(CONFIG_PFLASH_CFI02) += pflash_cfi02.o |
| 18 | |
| 19 | hw-obj-$(CONFIG_M48T59) += m48t59.o |
| 20 | hw-obj-$(CONFIG_ESCC) += escc.o |
| 21 | hw-obj-$(CONFIG_EMPTY_SLOT) += empty_slot.o |
| 22 | |
| 23 | hw-obj-$(CONFIG_SERIAL) += serial.o |
| 24 | hw-obj-$(CONFIG_PARALLEL) += parallel.o |
| 25 | hw-obj-$(CONFIG_I8254) += i8254_common.o i8254.o |
| 26 | hw-obj-$(CONFIG_PCSPK) += pcspk.o |
| 27 | hw-obj-$(CONFIG_PCKBD) += pckbd.o |
| 28 | hw-obj-$(CONFIG_FDC) += fdc.o |
| 29 | hw-obj-$(CONFIG_ACPI) += acpi.o acpi_piix4.o |
| 30 | hw-obj-$(CONFIG_APM) += pm_smbus.o apm.o |
| 31 | hw-obj-$(CONFIG_DMA) += dma.o |
| 32 | hw-obj-$(CONFIG_I82374) += i82374.o |
| 33 | hw-obj-$(CONFIG_HPET) += hpet.o |
| 34 | hw-obj-$(CONFIG_APPLESMC) += applesmc.o |
| 35 | hw-obj-$(CONFIG_SMARTCARD) += ccid-card-passthru.o |
| 36 | hw-obj-$(CONFIG_SMARTCARD_NSS) += ccid-card-emulated.o |
| 37 | hw-obj-$(CONFIG_I8259) += i8259_common.o i8259.o |
| 38 | |
| 39 | # PPC devices |
| 40 | hw-obj-$(CONFIG_PREP_PCI) += prep_pci.o |
| 41 | hw-obj-$(CONFIG_I82378) += i82378.o |
| 42 | # Mac shared devices |
| 43 | hw-obj-$(CONFIG_MACIO) += macio.o |
| 44 | hw-obj-$(CONFIG_CUDA) += cuda.o |
| 45 | hw-obj-$(CONFIG_ADB) += adb.o |
| 46 | hw-obj-$(CONFIG_MAC_NVRAM) += mac_nvram.o |
| 47 | hw-obj-$(CONFIG_MAC_DBDMA) += mac_dbdma.o |
| 48 | # OldWorld PowerMac |
| 49 | hw-obj-$(CONFIG_HEATHROW_PIC) += heathrow_pic.o |
| 50 | hw-obj-$(CONFIG_GRACKLE_PCI) += grackle_pci.o |
| 51 | # NewWorld PowerMac |
| 52 | hw-obj-$(CONFIG_UNIN_PCI) += unin_pci.o |
| 53 | hw-obj-$(CONFIG_DEC_PCI) += dec_pci.o |
| 54 | # PowerPC E500 boards |
| 55 | hw-obj-$(CONFIG_PPCE500_PCI) += ppce500_pci.o |
| 56 | |
| 57 | # MIPS devices |
| 58 | hw-obj-$(CONFIG_PIIX4) += piix4.o |
| 59 | hw-obj-$(CONFIG_G364FB) += g364fb.o |
| 60 | hw-obj-$(CONFIG_JAZZ_LED) += jazz_led.o |
| 61 | |
Andreas Färber | 9bbfbb6 | 2012-06-09 03:54:29 +0200 | [diff] [blame] | 62 | # Xilinx devices |
| 63 | hw-obj-$(CONFIG_XILINX) += xilinx_intc.o |
| 64 | hw-obj-$(CONFIG_XILINX) += xilinx_timer.o |
| 65 | hw-obj-$(CONFIG_XILINX) += xilinx_uartlite.o |
Andreas Färber | 07f9fd4 | 2012-06-09 03:54:31 +0200 | [diff] [blame] | 66 | hw-obj-$(CONFIG_XILINX_AXI) += xilinx_axidma.o |
| 67 | hw-obj-$(CONFIG_XILINX_AXI) += xilinx_axienet.o |
Peter A. G. Crosthwaite | 669b498 | 2012-08-10 13:16:11 +1000 | [diff] [blame] | 68 | hw-obj-$(CONFIG_XILINX_AXI) += stream.o |
Andreas Färber | 9bbfbb6 | 2012-06-09 03:54:29 +0200 | [diff] [blame] | 69 | |
Guan Xuetao | 5c8556a | 2012-08-10 14:42:28 +0800 | [diff] [blame] | 70 | # PKUnity SoC devices |
| 71 | hw-obj-$(CONFIG_PUV3) += puv3_intc.o |
Guan Xuetao | 56d07a9 | 2012-08-10 14:42:29 +0800 | [diff] [blame] | 72 | hw-obj-$(CONFIG_PUV3) += puv3_ost.o |
Guan Xuetao | a89d01c | 2012-08-10 14:42:30 +0800 | [diff] [blame] | 73 | hw-obj-$(CONFIG_PUV3) += puv3_gpio.o |
Guan Xuetao | f716c19 | 2012-08-10 14:42:31 +0800 | [diff] [blame] | 74 | hw-obj-$(CONFIG_PUV3) += puv3_pm.o |
Guan Xuetao | 1ea3489 | 2012-08-10 14:42:32 +0800 | [diff] [blame] | 75 | hw-obj-$(CONFIG_PUV3) += puv3_dma.o |
Guan Xuetao | 5c8556a | 2012-08-10 14:42:28 +0800 | [diff] [blame] | 76 | |
Andreas Färber | 58f9b98 | 2012-08-13 02:11:12 +0000 | [diff] [blame] | 77 | # ARM devices |
| 78 | hw-obj-$(CONFIG_ARM_TIMER) += arm_timer.o |
| 79 | hw-obj-$(CONFIG_PL011) += pl011.o |
| 80 | hw-obj-$(CONFIG_PL022) += pl022.o |
| 81 | hw-obj-$(CONFIG_PL031) += pl031.o |
| 82 | hw-obj-$(CONFIG_PL041) += pl041.o lm4549.o |
| 83 | hw-obj-$(CONFIG_PL050) += pl050.o |
| 84 | hw-obj-$(CONFIG_PL061) += pl061.o |
| 85 | hw-obj-$(CONFIG_PL080) += pl080.o |
| 86 | hw-obj-$(CONFIG_PL110) += pl110.o |
| 87 | hw-obj-$(CONFIG_PL181) += pl181.o |
| 88 | hw-obj-$(CONFIG_PL190) += pl190.o |
| 89 | hw-obj-$(CONFIG_PL310) += arm_l2x0.o |
| 90 | hw-obj-$(CONFIG_VERSATILE_PCI) += versatile_pci.o |
| 91 | hw-obj-$(CONFIG_VERSATILE_I2C) += versatile_i2c.o |
| 92 | hw-obj-$(CONFIG_CADENCE) += cadence_uart.o |
| 93 | hw-obj-$(CONFIG_CADENCE) += cadence_ttc.o |
| 94 | hw-obj-$(CONFIG_CADENCE) += cadence_gem.o |
| 95 | hw-obj-$(CONFIG_XGMAC) += xgmac.o |
| 96 | |
Paolo Bonzini | be1029e | 2012-05-29 11:10:55 +0200 | [diff] [blame] | 97 | # PCI watchdog devices |
| 98 | hw-obj-$(CONFIG_PCI) += wdt_i6300esb.o |
| 99 | |
| 100 | hw-obj-$(CONFIG_PCI) += pcie.o pcie_aer.o pcie_port.o |
| 101 | |
| 102 | # PCI network cards |
| 103 | hw-obj-$(CONFIG_NE2000_PCI) += ne2000.o |
| 104 | hw-obj-$(CONFIG_EEPRO100_PCI) += eepro100.o |
| 105 | hw-obj-$(CONFIG_PCNET_PCI) += pcnet-pci.o |
| 106 | hw-obj-$(CONFIG_PCNET_COMMON) += pcnet.o |
| 107 | hw-obj-$(CONFIG_E1000_PCI) += e1000.o |
| 108 | hw-obj-$(CONFIG_RTL8139_PCI) += rtl8139.o |
| 109 | |
| 110 | hw-obj-$(CONFIG_SMC91C111) += smc91c111.o |
| 111 | hw-obj-$(CONFIG_LAN9118) += lan9118.o |
| 112 | hw-obj-$(CONFIG_NE2000_ISA) += ne2000-isa.o |
| 113 | hw-obj-$(CONFIG_OPENCORES_ETH) += opencores_eth.o |
| 114 | |
| 115 | # SCSI layer |
| 116 | hw-obj-$(CONFIG_LSI_SCSI_PCI) += lsi53c895a.o |
Hannes Reinecke | e8f943c | 2012-05-29 13:51:17 +0200 | [diff] [blame] | 117 | hw-obj-$(CONFIG_MEGASAS_SCSI_PCI) += megasas.o |
Paolo Bonzini | be1029e | 2012-05-29 11:10:55 +0200 | [diff] [blame] | 118 | hw-obj-$(CONFIG_ESP) += esp.o |
Hervé Poussineau | aebcf56 | 2012-08-04 21:10:04 +0200 | [diff] [blame] | 119 | hw-obj-$(CONFIG_ESP_PCI) += esp-pci.o |
Paolo Bonzini | be1029e | 2012-05-29 11:10:55 +0200 | [diff] [blame] | 120 | |
| 121 | hw-obj-y += sysbus.o isa-bus.o |
| 122 | hw-obj-y += qdev-addr.o |
| 123 | |
| 124 | # VGA |
| 125 | hw-obj-$(CONFIG_VGA_PCI) += vga-pci.o |
| 126 | hw-obj-$(CONFIG_VGA_ISA) += vga-isa.o |
| 127 | hw-obj-$(CONFIG_VGA_ISA_MM) += vga-isa-mm.o |
| 128 | hw-obj-$(CONFIG_VMWARE_VGA) += vmware_vga.o |
| 129 | hw-obj-$(CONFIG_VMMOUSE) += vmmouse.o |
| 130 | hw-obj-$(CONFIG_VGA_CIRRUS) += cirrus_vga.o |
| 131 | |
| 132 | hw-obj-$(CONFIG_RC4030) += rc4030.o |
| 133 | hw-obj-$(CONFIG_DP8393X) += dp8393x.o |
| 134 | hw-obj-$(CONFIG_DS1225Y) += ds1225y.o |
| 135 | hw-obj-$(CONFIG_MIPSNET) += mipsnet.o |
| 136 | |
Anthony Liguori | b4a738b | 2012-08-22 15:22:05 -0500 | [diff] [blame] | 137 | hw-obj-y += null-machine.o |
| 138 | |
Paolo Bonzini | be1029e | 2012-05-29 11:10:55 +0200 | [diff] [blame] | 139 | # Sound |
| 140 | sound-obj-y = |
| 141 | sound-obj-$(CONFIG_SB16) += sb16.o |
| 142 | sound-obj-$(CONFIG_ES1370) += es1370.o |
| 143 | sound-obj-$(CONFIG_AC97) += ac97.o |
| 144 | sound-obj-$(CONFIG_ADLIB) += fmopl.o adlib.o |
| 145 | sound-obj-$(CONFIG_GUS) += gus.o gusemu_hal.o gusemu_mixer.o |
| 146 | sound-obj-$(CONFIG_CS4231A) += cs4231a.o |
| 147 | sound-obj-$(CONFIG_HDA) += intel-hda.o hda-audio.o |
| 148 | |
| 149 | $(obj)/adlib.o $(obj)/fmopl.o: QEMU_CFLAGS += -DBUILD_Y8950=0 |
| 150 | |
| 151 | hw-obj-$(CONFIG_SOUND) += $(sound-obj-y) |
| 152 | |
| 153 | hw-obj-$(CONFIG_REALLY_VIRTFS) += 9pfs/ |
| 154 | |
Paolo Bonzini | 3d5a3f9 | 2012-05-29 11:08:47 +0200 | [diff] [blame] | 155 | common-obj-y += usb/ |
| 156 | common-obj-y += irq.o |
| 157 | common-obj-$(CONFIG_PTIMER) += ptimer.o |
| 158 | common-obj-$(CONFIG_MAX7310) += max7310.o |
| 159 | common-obj-$(CONFIG_WM8750) += wm8750.o |
| 160 | common-obj-$(CONFIG_TWL92230) += twl92230.o |
| 161 | common-obj-$(CONFIG_TSC2005) += tsc2005.o |
| 162 | common-obj-$(CONFIG_LM832X) += lm832x.o |
| 163 | common-obj-$(CONFIG_TMP105) += tmp105.o |
| 164 | common-obj-$(CONFIG_STELLARIS_INPUT) += stellaris_input.o |
| 165 | common-obj-$(CONFIG_SSD0303) += ssd0303.o |
| 166 | common-obj-$(CONFIG_SSD0323) += ssd0323.o |
| 167 | common-obj-$(CONFIG_ADS7846) += ads7846.o |
| 168 | common-obj-$(CONFIG_MAX111X) += max111x.o |
| 169 | common-obj-$(CONFIG_DS1338) += ds1338.o |
| 170 | common-obj-y += i2c.o smbus.o smbus_eeprom.o |
| 171 | common-obj-y += eeprom93xx.o |
Markus Armbruster | 911525d | 2012-07-11 15:08:37 +0200 | [diff] [blame] | 172 | common-obj-y += scsi-disk.o cdrom.o hd-geometry.o block-common.o |
Paolo Bonzini | 3d5a3f9 | 2012-05-29 11:08:47 +0200 | [diff] [blame] | 173 | common-obj-y += scsi-generic.o scsi-bus.o |
| 174 | common-obj-y += hid.o |
| 175 | common-obj-$(CONFIG_SSI) += ssi.o |
| 176 | common-obj-$(CONFIG_SSI_SD) += ssi-sd.o |
| 177 | common-obj-$(CONFIG_SD) += sd.o |
| 178 | common-obj-y += bt.o bt-l2cap.o bt-sdp.o bt-hci.o bt-hid.o |
| 179 | common-obj-y += bt-hci-csr.o |
| 180 | common-obj-y += msmouse.o ps2.o |
| 181 | common-obj-y += qdev.o qdev-properties.o qdev-monitor.o |
| 182 | common-obj-$(CONFIG_BRLAPI) += baum.o |
| 183 | |
| 184 | # xen backend driver support |
| 185 | common-obj-$(CONFIG_XEN_BACKEND) += xen_backend.o xen_devconfig.o |
| 186 | common-obj-$(CONFIG_XEN_BACKEND) += xen_console.o xenfb.o xen_disk.o xen_nic.o |
Paolo Bonzini | c353f26 | 2012-05-29 11:49:34 +0200 | [diff] [blame] | 187 | |
| 188 | # Per-target files |
| 189 | # virtio has to be here due to weird dependency between PCI and virtio-net. |
| 190 | # need to fix this properly |
| 191 | obj-$(CONFIG_VIRTIO) += virtio.o virtio-blk.o virtio-balloon.o virtio-net.o |
| 192 | obj-$(CONFIG_VIRTIO) += virtio-serial-bus.o virtio-scsi.o |
| 193 | obj-$(CONFIG_SOFTMMU) += vhost_net.o |
| 194 | obj-$(CONFIG_VHOST_NET) += vhost.o |
| 195 | obj-$(CONFIG_REALLY_VIRTFS) += 9pfs/ |
| 196 | obj-$(CONFIG_NO_PCI) += pci-stub.o |
| 197 | obj-$(CONFIG_VGA) += vga.o |
| 198 | obj-$(CONFIG_SOFTMMU) += device-hotplug.o |
| 199 | obj-$(CONFIG_XEN) += xen_domainbuild.o xen_machine_pv.o |
| 200 | |
| 201 | # Inter-VM PCI shared memory |
| 202 | ifeq ($(CONFIG_PCI), y) |
| 203 | obj-$(CONFIG_KVM) += ivshmem.o |
| 204 | endif |