root / Makefile.hw @ bc578fe0
History | View | Annotate | Download (907 Bytes)
1 |
# Makefile for qemu target independent devices. |
---|---|
2 |
|
3 |
include ../config-host.mak |
4 |
include ../config-all-devices.mak |
5 |
include config.mak |
6 |
include $(SRC_PATH)/rules.mak |
7 |
|
8 |
.PHONY: all |
9 |
|
10 |
VPATH=$(SRC_PATH):$(SRC_PATH)/hw |
11 |
|
12 |
QEMU_CFLAGS+=-I.. -I$(SRC_PATH)/fpu |
13 |
|
14 |
obj-y = |
15 |
obj-y += loader.o |
16 |
obj-y += virtio.o |
17 |
obj-y += fw_cfg.o |
18 |
obj-y += watchdog.o |
19 |
obj-$(CONFIG_ECC) += ecc.o |
20 |
obj-$(CONFIG_NAND) += nand.o |
21 |
|
22 |
obj-$(CONFIG_M48T59) += m48t59.o |
23 |
obj-$(CONFIG_ESCC) += escc.o |
24 |
|
25 |
# PCI watchdog devices |
26 |
obj-y += wdt_i6300esb.o |
27 |
|
28 |
obj-y += msix.o |
29 |
|
30 |
# PCI network cards |
31 |
obj-y += ne2000.o |
32 |
|
33 |
# SCSI layer |
34 |
obj-y += lsi53c895a.o |
35 |
obj-$(CONFIG_ESP) += esp.o |
36 |
|
37 |
obj-y += dma-helpers.o sysbus.o isa-bus.o |
38 |
obj-$(CONFIG_QDEV_ADDR) += qdev-addr.o |
39 |
|
40 |
all: $(HWLIB) |
41 |
# Dummy command so that make thinks it has done something |
42 |
@true |
43 |
|
44 |
$(HWLIB): $(obj-y) |
45 |
|
46 |
clean: |
47 |
rm -f *.o *.d *.a *~ |
48 |
|
49 |
# Include automatically generated dependency files |
50 |
-include $(wildcard *.d */*.d) |