Merge commit '45a50b1668822c23afc2a89f724654e176518bc4'
[qemu-kvm/markmc.git] / Makefile.hw
blob830902bb6831486b6d8405d61e8fdf7158189813
1 # Makefile for qemu target independent devices.
3 include ../config-host.mak
4 include config.mak
5 include $(SRC_PATH)/rules.mak
7 .PHONY: all
9 VPATH=$(SRC_PATH):$(SRC_PATH)/hw
11 QEMU_CFLAGS+=-I.. -I$(SRC_PATH)/fpu
13 obj-y =
14 obj-y += loader.o
15 obj-y += virtio.o
16 obj-y += fw_cfg.o
17 obj-y += watchdog.o
18 obj-y += nand.o ecc.o
20 obj-y += m48t59.o escc.o
22 # PCI watchdog devices
23 obj-y += wdt_i6300esb.o
25 obj-y += msix.o
27 # PCI network cards
28 obj-y += ne2000.o
30 # SCSI layer
31 obj-y += lsi53c895a.o esp.o
33 obj-y += dma-helpers.o sysbus.o qdev-addr.o isa-bus.o
35 all: $(HWLIB)
36 # Dummy command so that make thinks it has done something
37         @true
39 $(HWLIB): $(obj-y)
41 clean:
42         rm -f *.o *.d *.a *~
44 # Include automatically generated dependency files
45 -include $(wildcard *.d */*.d)