Fix Sparse warning about missing prototype
[qemu/aliguori-queue.git] / Makefile.hw
blob131ae51b102f674b8d6af6cad774ab89b7119a3c
1 # Makefile for qemu target independent devices.
3 include ../config-host.mak
4 include config.mak
5 include $(SRC_PATH)/rules.mak
7 .PHONY: all
9 VPATH=$(SRC_PATH):$(SRC_PATH)/hw
11 CPPFLAGS += -I. -I.. -I$(SRC_PATH) -MMD -MP -MT $@
12 CPPFLAGS += -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
13 CPPFLAGS+=-I$(SRC_PATH)/fpu
15 obj-y =
16 obj-y += virtio.o virtio-pci.o
17 obj-y += fw_cfg.o
18 obj-y += watchdog.o
19 obj-y += nand.o ecc.o
21 obj-y += m48t59.o escc.o
23 # SCSI layer
24 obj-y += lsi53c895a.o esp.o
26 obj-y += dma-helpers.o sysbus.o qdev-addr.o
28 all: $(HWLIB)
29 # Dummy command so that make thinks it has done something
30         @true
32 $(HWLIB): $(obj-y)
34 clean:
35         rm -f *.o *.d *.a *~
37 # Include automatically generated dependency files
38 -include $(wildcard *.d */*.d)