1 # core qdev-related obj files, also used by *-user:
2 universal-obj-y += qdev.o qdev-properties.o
3 # irq.o needed for qdev GPIO handling:
4 universal-obj-y += irq.o
6 common-obj-y = usb/ ide/ pci/
7 common-obj-y += loader.o
8 common-obj-$(CONFIG_VIRTIO) += virtio-console.o
9 common-obj-$(CONFIG_VIRTIO) += virtio-rng.o
10 common-obj-$(CONFIG_VIRTIO_PCI) += virtio-pci.o
11 common-obj-y += fw_cfg.o
12 common-obj-$(CONFIG_PCI) += pci_bridge_dev.o
13 common-obj-$(CONFIG_PCI) += ioh3420.o xio3130_upstream.o xio3130_downstream.o
14 common-obj-$(CONFIG_PCI) += i82801b11.o
15 common-obj-y += watchdog.o
16 common-obj-$(CONFIG_ISA_MMIO) += isa_mmio.o
17 common-obj-$(CONFIG_ECC) += ecc.o
18 common-obj-$(CONFIG_NAND) += nand.o
19 common-obj-$(CONFIG_PFLASH_CFI01) += pflash_cfi01.o
20 common-obj-$(CONFIG_PFLASH_CFI02) += pflash_cfi02.o
22 common-obj-$(CONFIG_M48T59) += m48t59.o
23 common-obj-$(CONFIG_ESCC) += escc.o
24 common-obj-$(CONFIG_EMPTY_SLOT) += empty_slot.o
26 common-obj-$(CONFIG_SERIAL) += serial.o serial-isa.o
27 common-obj-$(CONFIG_SERIAL_PCI) += serial-pci.o
28 common-obj-$(CONFIG_PARALLEL) += parallel.o
29 common-obj-$(CONFIG_I8254) += i8254_common.o i8254.o
30 common-obj-$(CONFIG_PCSPK) += pcspk.o
31 common-obj-$(CONFIG_PCKBD) += pckbd.o
32 common-obj-$(CONFIG_FDC) += fdc.o
33 common-obj-$(CONFIG_ACPI) += acpi.o acpi_piix4.o acpi_ich9.o smbus_ich9.o
34 common-obj-$(CONFIG_APM) += pm_smbus.o apm.o
35 common-obj-$(CONFIG_DMA) += dma.o
36 common-obj-$(CONFIG_I82374) += i82374.o
37 common-obj-$(CONFIG_HPET) += hpet.o
38 common-obj-$(CONFIG_APPLESMC) += applesmc.o
39 common-obj-y += ccid-card-passthru.o
40 common-obj-$(CONFIG_SMARTCARD_NSS) += ccid-card-emulated.o
41 common-obj-$(CONFIG_I8259) += i8259_common.o i8259.o
42 common-obj-y += fifo.o
48 common-obj-$(CONFIG_PREP_PCI) += prep_pci.o
49 common-obj-$(CONFIG_I82378) += i82378.o
50 common-obj-$(CONFIG_PC87312) += pc87312.o
52 common-obj-$(CONFIG_MACIO) += macio.o
53 common-obj-$(CONFIG_CUDA) += cuda.o
54 common-obj-$(CONFIG_ADB) += adb.o
55 common-obj-$(CONFIG_MAC_NVRAM) += mac_nvram.o
56 common-obj-$(CONFIG_MAC_DBDMA) += mac_dbdma.o
58 common-obj-$(CONFIG_HEATHROW_PIC) += heathrow_pic.o
59 common-obj-$(CONFIG_GRACKLE_PCI) += grackle_pci.o
61 common-obj-$(CONFIG_UNIN_PCI) += unin_pci.o
62 common-obj-$(CONFIG_DEC_PCI) += dec_pci.o
64 common-obj-$(CONFIG_PPCE500_PCI) += ppce500_pci.o
67 common-obj-$(CONFIG_PIIX4) += piix4.o
68 common-obj-$(CONFIG_G364FB) += g364fb.o
69 common-obj-$(CONFIG_JAZZ_LED) += jazz_led.o
72 common-obj-$(CONFIG_XILINX) += xilinx_intc.o
73 common-obj-$(CONFIG_XILINX) += xilinx_timer.o
74 common-obj-$(CONFIG_XILINX) += xilinx_uartlite.o
75 common-obj-$(CONFIG_XILINX_AXI) += xilinx_axidma.o
76 common-obj-$(CONFIG_XILINX_AXI) += xilinx_axienet.o
77 common-obj-$(CONFIG_XILINX_AXI) += stream.o
80 common-obj-$(CONFIG_PUV3) += puv3_intc.o
81 common-obj-$(CONFIG_PUV3) += puv3_ost.o
82 common-obj-$(CONFIG_PUV3) += puv3_gpio.o
83 common-obj-$(CONFIG_PUV3) += puv3_pm.o
84 common-obj-$(CONFIG_PUV3) += puv3_dma.o
87 common-obj-$(CONFIG_ARM_TIMER) += arm_timer.o
88 common-obj-$(CONFIG_PL011) += pl011.o
89 common-obj-$(CONFIG_PL022) += pl022.o
90 common-obj-$(CONFIG_PL031) += pl031.o
91 common-obj-$(CONFIG_PL041) += pl041.o lm4549.o
92 common-obj-$(CONFIG_PL050) += pl050.o
93 common-obj-$(CONFIG_PL061) += pl061.o
94 common-obj-$(CONFIG_PL080) += pl080.o
95 common-obj-$(CONFIG_PL110) += pl110.o
96 common-obj-$(CONFIG_PL181) += pl181.o
97 common-obj-$(CONFIG_PL190) += pl190.o
98 common-obj-$(CONFIG_PL310) += arm_l2x0.o
99 common-obj-$(CONFIG_VERSATILE_PCI) += versatile_pci.o
100 common-obj-$(CONFIG_VERSATILE_I2C) += versatile_i2c.o
101 common-obj-$(CONFIG_CADENCE) += cadence_uart.o
102 common-obj-$(CONFIG_CADENCE) += cadence_ttc.o
103 common-obj-$(CONFIG_CADENCE) += cadence_gem.o
104 common-obj-$(CONFIG_XGMAC) += xgmac.o
106 # PCI watchdog devices
107 common-obj-$(CONFIG_PCI) += wdt_i6300esb.o
110 common-obj-$(CONFIG_IPACK) += tpci200.o ipoctal232.o ipack.o
113 common-obj-$(CONFIG_NE2000_PCI) += ne2000.o
114 common-obj-$(CONFIG_EEPRO100_PCI) += eepro100.o
115 common-obj-$(CONFIG_PCNET_PCI) += pcnet-pci.o
116 common-obj-$(CONFIG_PCNET_COMMON) += pcnet.o
117 common-obj-$(CONFIG_E1000_PCI) += e1000.o
118 common-obj-$(CONFIG_RTL8139_PCI) += rtl8139.o
120 common-obj-$(CONFIG_SMC91C111) += smc91c111.o
121 common-obj-$(CONFIG_LAN9118) += lan9118.o
122 common-obj-$(CONFIG_NE2000_ISA) += ne2000-isa.o
123 common-obj-$(CONFIG_OPENCORES_ETH) += opencores_eth.o
126 common-obj-$(CONFIG_LSI_SCSI_PCI) += lsi53c895a.o
127 common-obj-$(CONFIG_MEGASAS_SCSI_PCI) += megasas.o
128 common-obj-$(CONFIG_ESP) += esp.o
129 common-obj-$(CONFIG_ESP_PCI) += esp-pci.o
131 common-obj-y += sysbus.o isa-bus.o
132 common-obj-y += qdev-addr.o
135 common-obj-$(CONFIG_VGA_PCI) += vga-pci.o
136 common-obj-$(CONFIG_VGA_ISA) += vga-isa.o
137 common-obj-$(CONFIG_VGA_ISA_MM) += vga-isa-mm.o
138 common-obj-$(CONFIG_VMWARE_VGA) += vmware_vga.o
139 common-obj-$(CONFIG_VMMOUSE) += vmmouse.o
140 common-obj-$(CONFIG_VGA_CIRRUS) += cirrus_vga.o
142 common-obj-$(CONFIG_RC4030) += rc4030.o
143 common-obj-$(CONFIG_DP8393X) += dp8393x.o
144 common-obj-$(CONFIG_DS1225Y) += ds1225y.o
145 common-obj-$(CONFIG_MIPSNET) += mipsnet.o
147 common-obj-y += null-machine.o
151 sound-obj-$(CONFIG_SB16) += sb16.o
152 sound-obj-$(CONFIG_ES1370) += es1370.o
153 sound-obj-$(CONFIG_AC97) += ac97.o
154 sound-obj-$(CONFIG_ADLIB) += fmopl.o adlib.o
155 sound-obj-$(CONFIG_GUS) += gus.o gusemu_hal.o gusemu_mixer.o
156 sound-obj-$(CONFIG_CS4231A) += cs4231a.o
157 sound-obj-$(CONFIG_HDA) += intel-hda.o hda-audio.o
159 $(obj)/adlib.o $(obj)/fmopl.o: QEMU_CFLAGS += -DBUILD_Y8950=0
161 common-obj-$(CONFIG_SOUND) += $(sound-obj-y)
163 common-obj-$(CONFIG_REALLY_VIRTFS) += 9pfs/
166 common-obj-$(CONFIG_PTIMER) += ptimer.o
167 common-obj-$(CONFIG_MAX7310) += max7310.o
168 common-obj-$(CONFIG_WM8750) += wm8750.o
169 common-obj-$(CONFIG_TWL92230) += twl92230.o
170 common-obj-$(CONFIG_TSC2005) += tsc2005.o
171 common-obj-$(CONFIG_LM832X) += lm832x.o
172 common-obj-$(CONFIG_TMP105) += tmp105.o
173 common-obj-$(CONFIG_STELLARIS_INPUT) += stellaris_input.o
174 common-obj-$(CONFIG_SSD0303) += ssd0303.o
175 common-obj-$(CONFIG_SSD0323) += ssd0323.o
176 common-obj-$(CONFIG_ADS7846) += ads7846.o
177 common-obj-$(CONFIG_MAX111X) += max111x.o
178 common-obj-$(CONFIG_DS1338) += ds1338.o
179 common-obj-y += i2c.o smbus.o smbus_eeprom.o
180 common-obj-y += eeprom93xx.o
181 common-obj-y += scsi-disk.o cdrom.o hd-geometry.o block-common.o
182 common-obj-y += scsi-generic.o scsi-bus.o
183 common-obj-y += hid.o
184 common-obj-$(CONFIG_SSI) += ssi.o
185 common-obj-$(CONFIG_SSI_M25P80) += m25p80.o
186 common-obj-$(CONFIG_SSI_SD) += ssi-sd.o
187 common-obj-$(CONFIG_SD) += sd.o
188 common-obj-y += bt.o bt-l2cap.o bt-sdp.o bt-hci.o bt-hid.o
189 common-obj-y += bt-hci-csr.o
190 common-obj-y += msmouse.o ps2.o
191 common-obj-y += qdev-monitor.o
192 common-obj-y += qdev-properties-system.o
193 common-obj-$(CONFIG_BRLAPI) += baum.o
195 # xen backend driver support
196 common-obj-$(CONFIG_XEN_BACKEND) += xen_backend.o xen_devconfig.o
197 common-obj-$(CONFIG_XEN_BACKEND) += xen_console.o xenfb.o xen_disk.o xen_nic.o
200 # virtio has to be here due to weird dependency between PCI and virtio-net.
201 # need to fix this properly
202 obj-$(CONFIG_VIRTIO) += dataplane/
203 obj-$(CONFIG_VIRTIO) += virtio.o virtio-blk.o virtio-balloon.o virtio-net.o
204 obj-$(CONFIG_VIRTIO) += virtio-serial-bus.o virtio-scsi.o
205 obj-$(CONFIG_SOFTMMU) += vhost_net.o
206 obj-$(CONFIG_VHOST_NET) += vhost.o
207 obj-$(CONFIG_REALLY_VIRTFS) += 9pfs/
208 obj-$(CONFIG_VGA) += vga.o
209 obj-$(CONFIG_SOFTMMU) += device-hotplug.o
210 obj-$(CONFIG_XEN) += xen_domainbuild.o xen_machine_pv.o
212 # Inter-VM PCI shared memory & VFIO PCI device assignment
213 ifeq ($(CONFIG_PCI), y)
214 obj-$(CONFIG_KVM) += ivshmem.o
215 obj-$(CONFIG_LINUX) += vfio_pci.o
218 $(obj)/baum.o: QEMU_CFLAGS += $(SDL_CFLAGS)