Make it obvious that pci_nic_init() can't fail
[qemu-kvm/fedora.git] / Makefile.hw
blob17c73df84f26a44c78142b8e05eaa10ad9044c98
1 # Makefile for qemu target independent devices.
3 include config.mak
4 include ../config-host.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)