root / Makefile.hw @ a558ee17
History | View | Annotate | Download (756 Bytes)
1 | 1ad2134f | Paul Brook | # Makefile for qemu target independent devices. |
---|---|---|---|
2 | 1ad2134f | Paul Brook | |
3 | 1ad2134f | Paul Brook | include ../config-host.mak |
4 | f36fc7a1 | Juan Quintela | include config.mak |
5 | 1ad2134f | Paul Brook | include $(SRC_PATH)/rules.mak |
6 | 1ad2134f | Paul Brook | |
7 | 1ad2134f | Paul Brook | .PHONY: all |
8 | 1ad2134f | Paul Brook | |
9 | 1ad2134f | Paul Brook | VPATH=$(SRC_PATH):$(SRC_PATH)/hw |
10 | 1ad2134f | Paul Brook | |
11 | a558ee17 | Juan Quintela | QEMU_CFLAGS += -I. -I.. -I$(SRC_PATH) -MMD -MP -MT $@ |
12 | a558ee17 | Juan Quintela | QEMU_CFLAGS += -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE |
13 | a558ee17 | Juan Quintela | QEMU_CFLAGS+=-I$(SRC_PATH)/fpu |
14 | 1ad2134f | Paul Brook | |
15 | 4f3a1d56 | Juan Quintela | obj-y = |
16 | 4f3a1d56 | Juan Quintela | obj-y += virtio.o virtio-pci.o |
17 | 4f3a1d56 | Juan Quintela | obj-y += fw_cfg.o |
18 | 4f3a1d56 | Juan Quintela | obj-y += watchdog.o |
19 | 4f3a1d56 | Juan Quintela | obj-y += nand.o ecc.o |
20 | 1ad2134f | Paul Brook | |
21 | 4f3a1d56 | Juan Quintela | obj-y += m48t59.o escc.o |
22 | e20a8dff | Blue Swirl | |
23 | e20a8dff | Blue Swirl | # SCSI layer |
24 | 4f3a1d56 | Juan Quintela | obj-y += lsi53c895a.o esp.o |
25 | 1ad2134f | Paul Brook | |
26 | ee6847d1 | Gerd Hoffmann | obj-y += dma-helpers.o sysbus.o qdev-addr.o |
27 | 1ad2134f | Paul Brook | |
28 | 1ad2134f | Paul Brook | all: $(HWLIB) |
29 | c2fb2637 | Paul Brook | # Dummy command so that make thinks it has done something |
30 | c2fb2637 | Paul Brook | @true |
31 | 1ad2134f | Paul Brook | |
32 | 4f3a1d56 | Juan Quintela | $(HWLIB): $(obj-y) |
33 | 1ad2134f | Paul Brook | |
34 | 1ad2134f | Paul Brook | clean: |
35 | 1ad2134f | Paul Brook | rm -f *.o *.d *.a *~ |
36 | 1ad2134f | Paul Brook | |
37 | 1ad2134f | Paul Brook | # Include automatically generated dependency files |
38 | 1ad2134f | Paul Brook | -include $(wildcard *.d */*.d) |