]> git.proxmox.com Git - qemu.git/blob - Makefile.hw
Only compile qdev_addr 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-y += nand.o ecc.o
20
21 obj-y += m48t59.o escc.o
22
23 # PCI watchdog devices
24 obj-y += wdt_i6300esb.o
25
26 obj-y += msix.o
27
28 # PCI network cards
29 obj-y += ne2000.o
30
31 # SCSI layer
32 obj-y += lsi53c895a.o esp.o
33
34 obj-y += dma-helpers.o sysbus.o isa-bus.o
35 obj-$(CONFIG_QDEV_ADDR) += qdev-addr.o
36
37 all: $(HWLIB)
38 # Dummy command so that make thinks it has done something
39 @true
40
41 $(HWLIB): $(obj-y)
42
43 clean:
44 rm -f *.o *.d *.a *~
45
46 # Include automatically generated dependency files
47 -include $(wildcard *.d */*.d)