]> git.proxmox.com Git - qemu.git/blob - Makefile.hw
Only compile ecc when one target uses it
[qemu.git] / Makefile.hw
1 # Makefile for qemu target independent devices.
2
3 include ../config-host.mak
4 include ../config-all-devices.mak
5 include config.mak
6 include $(SRC_PATH)/rules.mak
7
8 .PHONY: all
9
10 VPATH=$(SRC_PATH):$(SRC_PATH)/hw
11
12 QEMU_CFLAGS+=-I.. -I$(SRC_PATH)/fpu
13
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
21
22 obj-y += m48t59.o escc.o
23
24 # PCI watchdog devices
25 obj-y += wdt_i6300esb.o
26
27 obj-y += msix.o
28
29 # PCI network cards
30 obj-y += ne2000.o
31
32 # SCSI layer
33 obj-y += lsi53c895a.o esp.o
34
35 obj-y += dma-helpers.o sysbus.o isa-bus.o
36 obj-$(CONFIG_QDEV_ADDR) += qdev-addr.o
37
38 all: $(HWLIB)
39 # Dummy command so that make thinks it has done something
40 @true
41
42 $(HWLIB): $(obj-y)
43
44 clean:
45 rm -f *.o *.d *.a *~
46
47 # Include automatically generated dependency files
48 -include $(wildcard *.d */*.d)