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