]> git.proxmox.com Git - qemu.git/blame - Makefile.hw
Only compile esp when one target uses it
[qemu.git] / Makefile.hw
CommitLineData
1ad2134f
PB
1# Makefile for qemu target independent devices.
2
1ad2134f 3include ../config-host.mak
1f3d3c8f 4include ../config-all-devices.mak
f36fc7a1 5include config.mak
1ad2134f
PB
6include $(SRC_PATH)/rules.mak
7
8.PHONY: all
9
10VPATH=$(SRC_PATH):$(SRC_PATH)/hw
11
6c90361a 12QEMU_CFLAGS+=-I.. -I$(SRC_PATH)/fpu
1ad2134f 13
4f3a1d56 14obj-y =
ca20cf32 15obj-y += loader.o
3987e1cf 16obj-y += virtio.o
4f3a1d56
JQ
17obj-y += fw_cfg.o
18obj-y += watchdog.o
065c7a36 19obj-$(CONFIG_ECC) += ecc.o
7807feef 20obj-$(CONFIG_NAND) += nand.o
1ad2134f 21
4f3a1d56 22obj-y += m48t59.o escc.o
e20a8dff 23
9801c7b4
BS
24# PCI watchdog devices
25obj-y += wdt_i6300esb.o
26
5e520a7d
BS
27obj-y += msix.o
28
bd390e64
BS
29# PCI network cards
30obj-y += ne2000.o
31
e20a8dff 32# SCSI layer
9f376df1
JQ
33obj-y += lsi53c895a.o
34obj-$(CONFIG_ESP) += esp.o
1ad2134f 35
86e1d113
JQ
36obj-y += dma-helpers.o sysbus.o isa-bus.o
37obj-$(CONFIG_QDEV_ADDR) += qdev-addr.o
1ad2134f
PB
38
39all: $(HWLIB)
c2fb2637
PB
40# Dummy command so that make thinks it has done something
41 @true
1ad2134f 42
4f3a1d56 43$(HWLIB): $(obj-y)
1ad2134f
PB
44
45clean:
46 rm -f *.o *.d *.a *~
47
48# Include automatically generated dependency files
49-include $(wildcard *.d */*.d)