]>
Commit | Line | Data |
---|---|---|
1ad2134f PB |
1 | # Makefile for qemu target independent devices. |
2 | ||
1ad2134f | 3 | include ../config-host.mak |
f36fc7a1 | 4 | include config.mak |
1ad2134f PB |
5 | include $(SRC_PATH)/rules.mak |
6 | ||
7 | .PHONY: all | |
8 | ||
9 | VPATH=$(SRC_PATH):$(SRC_PATH)/hw | |
10 | ||
6c90361a | 11 | QEMU_CFLAGS+=-I.. -I$(SRC_PATH)/fpu |
1ad2134f | 12 | |
4f3a1d56 | 13 | obj-y = |
3987e1cf | 14 | obj-y += virtio.o |
4f3a1d56 JQ |
15 | obj-y += fw_cfg.o |
16 | obj-y += watchdog.o | |
17 | obj-y += nand.o ecc.o | |
1ad2134f | 18 | |
4f3a1d56 | 19 | obj-y += m48t59.o escc.o |
e20a8dff | 20 | |
e20a8dff | 21 | # SCSI layer |
4f3a1d56 | 22 | obj-y += lsi53c895a.o esp.o |
1ad2134f | 23 | |
ee6847d1 | 24 | obj-y += dma-helpers.o sysbus.o qdev-addr.o |
1ad2134f PB |
25 | |
26 | all: $(HWLIB) | |
c2fb2637 PB |
27 | # Dummy command so that make thinks it has done something |
28 | @true | |
1ad2134f | 29 | |
4f3a1d56 | 30 | $(HWLIB): $(obj-y) |
1ad2134f PB |
31 | |
32 | clean: | |
33 | rm -f *.o *.d *.a *~ | |
34 | ||
35 | # Include automatically generated dependency files | |
36 | -include $(wildcard *.d */*.d) |