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