2012-12-05 20:49:12 +04:00
|
|
|
# core qdev-related obj files, also used by *-user:
|
2013-01-19 14:06:47 +04:00
|
|
|
common-obj-y += qdev.o qdev-properties.o
|
2012-12-05 20:49:12 +04:00
|
|
|
# irq.o needed for qdev GPIO handling:
|
2013-01-19 14:06:47 +04:00
|
|
|
common-obj-y += irq.o
|
2012-12-05 20:49:12 +04:00
|
|
|
|
2013-01-19 14:06:47 +04:00
|
|
|
ifeq ($(CONFIG_SOFTMMU),y)
|
|
|
|
common-obj-y += usb/ ide/ pci/
|
2012-10-05 21:39:33 +04:00
|
|
|
common-obj-y += loader.o
|
|
|
|
common-obj-$(CONFIG_VIRTIO) += virtio-console.o
|
2012-06-20 10:59:32 +04:00
|
|
|
common-obj-$(CONFIG_VIRTIO) += virtio-rng.o
|
2012-10-05 21:39:33 +04:00
|
|
|
common-obj-$(CONFIG_VIRTIO_PCI) += virtio-pci.o
|
2013-01-15 03:08:01 +04:00
|
|
|
common-obj-$(CONFIG_VIRTIO) += virtio-bus.o
|
2012-10-05 21:39:33 +04:00
|
|
|
common-obj-y += fw_cfg.o
|
2012-12-12 15:32:14 +04:00
|
|
|
common-obj-$(CONFIG_PCI) += pci_bridge_dev.o
|
2012-10-05 21:39:33 +04:00
|
|
|
common-obj-$(CONFIG_PCI) += ioh3420.o xio3130_upstream.o xio3130_downstream.o
|
2012-11-15 00:54:07 +04:00
|
|
|
common-obj-$(CONFIG_PCI) += i82801b11.o
|
2012-10-05 21:39:33 +04:00
|
|
|
common-obj-y += watchdog.o
|
|
|
|
common-obj-$(CONFIG_ISA_MMIO) += isa_mmio.o
|
|
|
|
common-obj-$(CONFIG_ECC) += ecc.o
|
|
|
|
common-obj-$(CONFIG_NAND) += nand.o
|
|
|
|
common-obj-$(CONFIG_PFLASH_CFI01) += pflash_cfi01.o
|
|
|
|
common-obj-$(CONFIG_PFLASH_CFI02) += pflash_cfi02.o
|
|
|
|
|
|
|
|
common-obj-$(CONFIG_M48T59) += m48t59.o
|
|
|
|
common-obj-$(CONFIG_ESCC) += escc.o
|
|
|
|
common-obj-$(CONFIG_EMPTY_SLOT) += empty_slot.o
|
|
|
|
|
2012-10-17 11:54:19 +04:00
|
|
|
common-obj-$(CONFIG_SERIAL) += serial.o serial-isa.o
|
2012-10-17 11:54:20 +04:00
|
|
|
common-obj-$(CONFIG_SERIAL_PCI) += serial-pci.o
|
2012-10-05 21:39:33 +04:00
|
|
|
common-obj-$(CONFIG_PARALLEL) += parallel.o
|
|
|
|
common-obj-$(CONFIG_I8254) += i8254_common.o i8254.o
|
|
|
|
common-obj-$(CONFIG_PCSPK) += pcspk.o
|
|
|
|
common-obj-$(CONFIG_PCKBD) += pckbd.o
|
|
|
|
common-obj-$(CONFIG_FDC) += fdc.o
|
2012-11-23 07:06:42 +04:00
|
|
|
common-obj-$(CONFIG_ACPI) += acpi.o acpi_piix4.o acpi_ich9.o smbus_ich9.o
|
2012-10-05 21:39:33 +04:00
|
|
|
common-obj-$(CONFIG_APM) += pm_smbus.o apm.o
|
|
|
|
common-obj-$(CONFIG_DMA) += dma.o
|
|
|
|
common-obj-$(CONFIG_I82374) += i82374.o
|
|
|
|
common-obj-$(CONFIG_HPET) += hpet.o
|
|
|
|
common-obj-$(CONFIG_APPLESMC) += applesmc.o
|
2013-02-01 14:08:24 +04:00
|
|
|
ifeq ($(CONFIG_USB_SMARTCARD),y)
|
2012-12-20 23:39:36 +04:00
|
|
|
common-obj-y += ccid-card-passthru.o
|
2012-10-05 21:39:33 +04:00
|
|
|
common-obj-$(CONFIG_SMARTCARD_NSS) += ccid-card-emulated.o
|
2013-02-01 14:08:24 +04:00
|
|
|
endif
|
2012-10-05 21:39:33 +04:00
|
|
|
common-obj-$(CONFIG_I8259) += i8259_common.o i8259.o
|
2012-08-01 14:26:12 +04:00
|
|
|
common-obj-y += fifo.o
|
2012-11-15 00:54:02 +04:00
|
|
|
common-obj-y += pam.o
|
2012-05-29 13:10:55 +04:00
|
|
|
|
|
|
|
# PPC devices
|
2012-10-05 21:39:33 +04:00
|
|
|
common-obj-$(CONFIG_PREP_PCI) += prep_pci.o
|
|
|
|
common-obj-$(CONFIG_I82378) += i82378.o
|
2013-01-11 00:52:28 +04:00
|
|
|
common-obj-$(CONFIG_PC87312) += pc87312.o
|
2012-05-29 13:10:55 +04:00
|
|
|
# Mac shared devices
|
2012-10-05 21:39:33 +04:00
|
|
|
common-obj-$(CONFIG_MACIO) += macio.o
|
|
|
|
common-obj-$(CONFIG_CUDA) += cuda.o
|
|
|
|
common-obj-$(CONFIG_ADB) += adb.o
|
|
|
|
common-obj-$(CONFIG_MAC_NVRAM) += mac_nvram.o
|
|
|
|
common-obj-$(CONFIG_MAC_DBDMA) += mac_dbdma.o
|
2012-05-29 13:10:55 +04:00
|
|
|
# OldWorld PowerMac
|
2012-10-05 21:39:33 +04:00
|
|
|
common-obj-$(CONFIG_HEATHROW_PIC) += heathrow_pic.o
|
|
|
|
common-obj-$(CONFIG_GRACKLE_PCI) += grackle_pci.o
|
2012-05-29 13:10:55 +04:00
|
|
|
# NewWorld PowerMac
|
2012-10-05 21:39:33 +04:00
|
|
|
common-obj-$(CONFIG_UNIN_PCI) += unin_pci.o
|
|
|
|
common-obj-$(CONFIG_DEC_PCI) += dec_pci.o
|
2012-05-29 13:10:55 +04:00
|
|
|
# PowerPC E500 boards
|
2012-10-05 21:39:33 +04:00
|
|
|
common-obj-$(CONFIG_PPCE500_PCI) += ppce500_pci.o
|
2012-05-29 13:10:55 +04:00
|
|
|
|
|
|
|
# MIPS devices
|
2012-10-05 21:39:33 +04:00
|
|
|
common-obj-$(CONFIG_PIIX4) += piix4.o
|
|
|
|
common-obj-$(CONFIG_G364FB) += g364fb.o
|
|
|
|
common-obj-$(CONFIG_JAZZ_LED) += jazz_led.o
|
2012-05-29 13:10:55 +04:00
|
|
|
|
2012-06-09 05:54:29 +04:00
|
|
|
# Xilinx devices
|
2012-10-05 21:39:33 +04:00
|
|
|
common-obj-$(CONFIG_XILINX) += xilinx_intc.o
|
|
|
|
common-obj-$(CONFIG_XILINX) += xilinx_timer.o
|
|
|
|
common-obj-$(CONFIG_XILINX) += xilinx_uartlite.o
|
|
|
|
common-obj-$(CONFIG_XILINX_AXI) += xilinx_axidma.o
|
|
|
|
common-obj-$(CONFIG_XILINX_AXI) += xilinx_axienet.o
|
|
|
|
common-obj-$(CONFIG_XILINX_AXI) += stream.o
|
2012-06-09 05:54:29 +04:00
|
|
|
|
2012-08-10 10:42:28 +04:00
|
|
|
# PKUnity SoC devices
|
2012-10-05 21:39:33 +04:00
|
|
|
common-obj-$(CONFIG_PUV3) += puv3_intc.o
|
|
|
|
common-obj-$(CONFIG_PUV3) += puv3_ost.o
|
|
|
|
common-obj-$(CONFIG_PUV3) += puv3_gpio.o
|
|
|
|
common-obj-$(CONFIG_PUV3) += puv3_pm.o
|
|
|
|
common-obj-$(CONFIG_PUV3) += puv3_dma.o
|
2012-08-10 10:42:28 +04:00
|
|
|
|
2012-08-13 06:11:12 +04:00
|
|
|
# ARM devices
|
2012-10-05 21:39:33 +04:00
|
|
|
common-obj-$(CONFIG_ARM_TIMER) += arm_timer.o
|
|
|
|
common-obj-$(CONFIG_PL011) += pl011.o
|
|
|
|
common-obj-$(CONFIG_PL022) += pl022.o
|
|
|
|
common-obj-$(CONFIG_PL031) += pl031.o
|
|
|
|
common-obj-$(CONFIG_PL041) += pl041.o lm4549.o
|
|
|
|
common-obj-$(CONFIG_PL050) += pl050.o
|
|
|
|
common-obj-$(CONFIG_PL061) += pl061.o
|
|
|
|
common-obj-$(CONFIG_PL080) += pl080.o
|
|
|
|
common-obj-$(CONFIG_PL110) += pl110.o
|
|
|
|
common-obj-$(CONFIG_PL181) += pl181.o
|
|
|
|
common-obj-$(CONFIG_PL190) += pl190.o
|
|
|
|
common-obj-$(CONFIG_PL310) += arm_l2x0.o
|
|
|
|
common-obj-$(CONFIG_VERSATILE_PCI) += versatile_pci.o
|
|
|
|
common-obj-$(CONFIG_VERSATILE_I2C) += versatile_i2c.o
|
|
|
|
common-obj-$(CONFIG_CADENCE) += cadence_uart.o
|
|
|
|
common-obj-$(CONFIG_CADENCE) += cadence_ttc.o
|
|
|
|
common-obj-$(CONFIG_CADENCE) += cadence_gem.o
|
|
|
|
common-obj-$(CONFIG_XGMAC) += xgmac.o
|
2012-08-13 06:11:12 +04:00
|
|
|
|
2012-05-29 13:10:55 +04:00
|
|
|
# PCI watchdog devices
|
2012-10-05 21:39:33 +04:00
|
|
|
common-obj-$(CONFIG_PCI) += wdt_i6300esb.o
|
2012-05-29 13:10:55 +04:00
|
|
|
|
2013-01-11 21:25:29 +04:00
|
|
|
# IndustryPack
|
2013-01-11 21:25:30 +04:00
|
|
|
common-obj-$(CONFIG_IPACK) += tpci200.o ipoctal232.o ipack.o
|
2013-01-11 21:25:29 +04:00
|
|
|
|
2012-05-29 13:10:55 +04:00
|
|
|
# PCI network cards
|
2012-10-05 21:39:33 +04:00
|
|
|
common-obj-$(CONFIG_NE2000_PCI) += ne2000.o
|
|
|
|
common-obj-$(CONFIG_EEPRO100_PCI) += eepro100.o
|
|
|
|
common-obj-$(CONFIG_PCNET_PCI) += pcnet-pci.o
|
|
|
|
common-obj-$(CONFIG_PCNET_COMMON) += pcnet.o
|
|
|
|
common-obj-$(CONFIG_E1000_PCI) += e1000.o
|
|
|
|
common-obj-$(CONFIG_RTL8139_PCI) += rtl8139.o
|
|
|
|
|
|
|
|
common-obj-$(CONFIG_SMC91C111) += smc91c111.o
|
|
|
|
common-obj-$(CONFIG_LAN9118) += lan9118.o
|
|
|
|
common-obj-$(CONFIG_NE2000_ISA) += ne2000-isa.o
|
|
|
|
common-obj-$(CONFIG_OPENCORES_ETH) += opencores_eth.o
|
2012-05-29 13:10:55 +04:00
|
|
|
|
|
|
|
# SCSI layer
|
2012-10-05 21:39:33 +04:00
|
|
|
common-obj-$(CONFIG_LSI_SCSI_PCI) += lsi53c895a.o
|
|
|
|
common-obj-$(CONFIG_MEGASAS_SCSI_PCI) += megasas.o
|
|
|
|
common-obj-$(CONFIG_ESP) += esp.o
|
|
|
|
common-obj-$(CONFIG_ESP_PCI) += esp-pci.o
|
2012-05-29 13:10:55 +04:00
|
|
|
|
2012-10-05 21:39:33 +04:00
|
|
|
common-obj-y += sysbus.o isa-bus.o
|
|
|
|
common-obj-y += qdev-addr.o
|
2012-05-29 13:10:55 +04:00
|
|
|
|
|
|
|
# VGA
|
2012-10-05 21:39:33 +04:00
|
|
|
common-obj-$(CONFIG_VGA_PCI) += vga-pci.o
|
|
|
|
common-obj-$(CONFIG_VGA_ISA) += vga-isa.o
|
|
|
|
common-obj-$(CONFIG_VGA_ISA_MM) += vga-isa-mm.o
|
|
|
|
common-obj-$(CONFIG_VMWARE_VGA) += vmware_vga.o
|
|
|
|
common-obj-$(CONFIG_VMMOUSE) += vmmouse.o
|
|
|
|
common-obj-$(CONFIG_VGA_CIRRUS) += cirrus_vga.o
|
2012-05-29 13:10:55 +04:00
|
|
|
|
2012-10-05 21:39:33 +04:00
|
|
|
common-obj-$(CONFIG_RC4030) += rc4030.o
|
|
|
|
common-obj-$(CONFIG_DP8393X) += dp8393x.o
|
|
|
|
common-obj-$(CONFIG_DS1225Y) += ds1225y.o
|
|
|
|
common-obj-$(CONFIG_MIPSNET) += mipsnet.o
|
2012-05-29 13:10:55 +04:00
|
|
|
|
2012-10-05 21:39:33 +04:00
|
|
|
common-obj-y += null-machine.o
|
2012-05-29 13:10:55 +04:00
|
|
|
|
|
|
|
# Sound
|
|
|
|
sound-obj-y =
|
|
|
|
sound-obj-$(CONFIG_SB16) += sb16.o
|
|
|
|
sound-obj-$(CONFIG_ES1370) += es1370.o
|
|
|
|
sound-obj-$(CONFIG_AC97) += ac97.o
|
|
|
|
sound-obj-$(CONFIG_ADLIB) += fmopl.o adlib.o
|
|
|
|
sound-obj-$(CONFIG_GUS) += gus.o gusemu_hal.o gusemu_mixer.o
|
|
|
|
sound-obj-$(CONFIG_CS4231A) += cs4231a.o
|
|
|
|
sound-obj-$(CONFIG_HDA) += intel-hda.o hda-audio.o
|
|
|
|
|
|
|
|
$(obj)/adlib.o $(obj)/fmopl.o: QEMU_CFLAGS += -DBUILD_Y8950=0
|
|
|
|
|
2012-10-05 21:39:33 +04:00
|
|
|
common-obj-$(CONFIG_SOUND) += $(sound-obj-y)
|
2012-05-29 13:10:55 +04:00
|
|
|
|
2012-10-05 21:39:33 +04:00
|
|
|
common-obj-$(CONFIG_REALLY_VIRTFS) += 9pfs/
|
2012-05-29 13:10:55 +04:00
|
|
|
|
2012-05-29 13:08:47 +04:00
|
|
|
common-obj-y += usb/
|
|
|
|
common-obj-$(CONFIG_PTIMER) += ptimer.o
|
|
|
|
common-obj-$(CONFIG_MAX7310) += max7310.o
|
|
|
|
common-obj-$(CONFIG_WM8750) += wm8750.o
|
|
|
|
common-obj-$(CONFIG_TWL92230) += twl92230.o
|
|
|
|
common-obj-$(CONFIG_TSC2005) += tsc2005.o
|
|
|
|
common-obj-$(CONFIG_LM832X) += lm832x.o
|
|
|
|
common-obj-$(CONFIG_TMP105) += tmp105.o
|
|
|
|
common-obj-$(CONFIG_STELLARIS_INPUT) += stellaris_input.o
|
|
|
|
common-obj-$(CONFIG_SSD0303) += ssd0303.o
|
|
|
|
common-obj-$(CONFIG_SSD0323) += ssd0323.o
|
|
|
|
common-obj-$(CONFIG_ADS7846) += ads7846.o
|
|
|
|
common-obj-$(CONFIG_MAX111X) += max111x.o
|
|
|
|
common-obj-$(CONFIG_DS1338) += ds1338.o
|
|
|
|
common-obj-y += i2c.o smbus.o smbus_eeprom.o
|
|
|
|
common-obj-y += eeprom93xx.o
|
2012-07-11 17:08:37 +04:00
|
|
|
common-obj-y += scsi-disk.o cdrom.o hd-geometry.o block-common.o
|
2012-05-29 13:08:47 +04:00
|
|
|
common-obj-y += scsi-generic.o scsi-bus.o
|
|
|
|
common-obj-y += hid.o
|
|
|
|
common-obj-$(CONFIG_SSI) += ssi.o
|
2012-03-26 16:10:59 +04:00
|
|
|
common-obj-$(CONFIG_SSI_M25P80) += m25p80.o
|
2012-05-29 13:08:47 +04:00
|
|
|
common-obj-$(CONFIG_SSI_SD) += ssi-sd.o
|
|
|
|
common-obj-$(CONFIG_SD) += sd.o
|
|
|
|
common-obj-y += bt.o bt-l2cap.o bt-sdp.o bt-hci.o bt-hid.o
|
|
|
|
common-obj-y += bt-hci-csr.o
|
|
|
|
common-obj-y += msmouse.o ps2.o
|
2012-12-05 20:49:12 +04:00
|
|
|
common-obj-y += qdev-monitor.o
|
2012-12-05 20:49:11 +04:00
|
|
|
common-obj-y += qdev-properties-system.o
|
2012-05-29 13:08:47 +04:00
|
|
|
common-obj-$(CONFIG_BRLAPI) += baum.o
|
|
|
|
|
|
|
|
# xen backend driver support
|
|
|
|
common-obj-$(CONFIG_XEN_BACKEND) += xen_backend.o xen_devconfig.o
|
|
|
|
common-obj-$(CONFIG_XEN_BACKEND) += xen_console.o xenfb.o xen_disk.o xen_nic.o
|
2012-05-29 13:49:34 +04:00
|
|
|
|
|
|
|
# Per-target files
|
|
|
|
# virtio has to be here due to weird dependency between PCI and virtio-net.
|
|
|
|
# need to fix this properly
|
2013-01-03 14:56:16 +04:00
|
|
|
obj-$(CONFIG_VIRTIO) += dataplane/
|
2012-05-29 13:49:34 +04:00
|
|
|
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
|
|
|
|
obj-$(CONFIG_SOFTMMU) += device-hotplug.o
|
|
|
|
obj-$(CONFIG_XEN) += xen_domainbuild.o xen_machine_pv.o
|
|
|
|
|
2012-09-26 21:19:39 +04:00
|
|
|
# Inter-VM PCI shared memory & VFIO PCI device assignment
|
2012-05-29 13:49:34 +04:00
|
|
|
ifeq ($(CONFIG_PCI), y)
|
|
|
|
obj-$(CONFIG_KVM) += ivshmem.o
|
2012-09-26 21:19:39 +04:00
|
|
|
obj-$(CONFIG_LINUX) += vfio_pci.o
|
2012-05-29 13:49:34 +04:00
|
|
|
endif
|
2012-09-17 10:35:53 +04:00
|
|
|
|
|
|
|
$(obj)/baum.o: QEMU_CFLAGS += $(SDL_CFLAGS)
|
2013-01-19 14:06:47 +04:00
|
|
|
endif
|