live migration: Allow cleanup after cancellation or error
[qemu/mdroth.git] / Makefile.hw
blobbd252f5ed0ae6cafece8ed8580aed2dce6efe834
1 # Makefile for qemu target independent devices.
3 include ../config-host.mak
4 include ../config-all-devices.mak
5 include config.mak
6 include $(SRC_PATH)/rules.mak
8 .PHONY: all
10 VPATH=$(SRC_PATH):$(SRC_PATH)/hw
12 QEMU_CFLAGS+=-I.. -I$(SRC_PATH)/fpu
14 obj-y =
15 obj-y += loader.o
16 obj-y += virtio.o
17 obj-y += fw_cfg.o
18 obj-y += watchdog.o
19 obj-$(CONFIG_ECC) += ecc.o
20 obj-$(CONFIG_NAND) += nand.o
22 obj-$(CONFIG_M48T59) += m48t59.o
23 obj-$(CONFIG_ESCC) += escc.o
25 # PCI watchdog devices
26 obj-y += wdt_i6300esb.o
28 obj-y += msix.o
30 # PCI network cards
31 obj-y += ne2000.o
33 obj-$(CONFIG_SMC91C111) += smc91c111.o
34 obj-$(CONFIG_LAN9118) += lan9118.o
36 # SCSI layer
37 obj-y += lsi53c895a.o
38 obj-$(CONFIG_ESP) += esp.o
40 obj-y += dma-helpers.o sysbus.o isa-bus.o
41 obj-$(CONFIG_QDEV_ADDR) += qdev-addr.o
43 all: $(HWLIB)
44 # Dummy command so that make thinks it has done something
45         @true
47 $(HWLIB): $(obj-y)
49 clean:
50         rm -f *.o *.d *.a *~
52 # Include automatically generated dependency files
53 -include $(wildcard *.d */*.d)