2009-05-19 15:17:58 +00:00
|
|
|
# Makefile for qemu target independent devices.
|
|
|
|
|
|
|
|
include ../config-host.mak
|
2009-10-07 00:41:02 +00:00
|
|
|
include ../config-all-devices.mak
|
2009-07-27 14:12:50 +00:00
|
|
|
include config.mak
|
2009-05-19 15:17:58 +00:00
|
|
|
include $(SRC_PATH)/rules.mak
|
|
|
|
|
|
|
|
.PHONY: all
|
|
|
|
|
|
|
|
VPATH=$(SRC_PATH):$(SRC_PATH)/hw
|
|
|
|
|
2009-08-03 12:46:23 +00:00
|
|
|
QEMU_CFLAGS+=-I.. -I$(SRC_PATH)/fpu
|
2009-05-19 15:17:58 +00:00
|
|
|
|
2009-06-24 22:07:59 +00:00
|
|
|
obj-y =
|
2009-09-20 14:58:02 +00:00
|
|
|
obj-y += loader.o
|
2009-08-10 19:30:24 +00:00
|
|
|
obj-y += virtio.o
|
2009-06-24 22:07:59 +00:00
|
|
|
obj-y += fw_cfg.o
|
|
|
|
obj-y += watchdog.o
|
2009-10-07 00:41:09 +00:00
|
|
|
obj-$(CONFIG_ECC) += ecc.o
|
2009-10-07 00:41:08 +00:00
|
|
|
obj-$(CONFIG_NAND) += nand.o
|
2009-05-19 15:17:58 +00:00
|
|
|
|
2009-10-07 00:41:12 +00:00
|
|
|
obj-$(CONFIG_M48T59) += m48t59.o
|
2009-10-07 00:41:11 +00:00
|
|
|
obj-$(CONFIG_ESCC) += escc.o
|
2009-05-21 15:54:36 +00:00
|
|
|
|
2009-09-20 08:02:28 +00:00
|
|
|
# PCI watchdog devices
|
|
|
|
obj-y += wdt_i6300esb.o
|
|
|
|
|
2009-09-20 15:35:55 +00:00
|
|
|
obj-y += msix.o
|
|
|
|
|
2009-09-20 16:19:32 +00:00
|
|
|
# PCI network cards
|
|
|
|
obj-y += ne2000.o
|
|
|
|
|
2009-11-19 16:42:45 +00:00
|
|
|
obj-$(CONFIG_SMC91C111) += smc91c111.o
|
|
|
|
obj-$(CONFIG_LAN9118) += lan9118.o
|
|
|
|
|
2009-05-21 15:54:36 +00:00
|
|
|
# SCSI layer
|
2009-10-07 00:41:10 +00:00
|
|
|
obj-y += lsi53c895a.o
|
|
|
|
obj-$(CONFIG_ESP) += esp.o
|
2009-05-19 15:17:58 +00:00
|
|
|
|
2009-10-07 00:41:07 +00:00
|
|
|
obj-y += dma-helpers.o sysbus.o isa-bus.o
|
|
|
|
obj-$(CONFIG_QDEV_ADDR) += qdev-addr.o
|
2009-05-19 15:17:58 +00:00
|
|
|
|
|
|
|
all: $(HWLIB)
|
2009-05-25 17:54:53 +00:00
|
|
|
# Dummy command so that make thinks it has done something
|
|
|
|
@true
|
2009-05-19 15:17:58 +00:00
|
|
|
|
2009-06-24 22:07:59 +00:00
|
|
|
$(HWLIB): $(obj-y)
|
2009-05-19 15:17:58 +00:00
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f *.o *.d *.a *~
|
|
|
|
|
|
|
|
# Include automatically generated dependency files
|
|
|
|
-include $(wildcard *.d */*.d)
|