rom loader: also try filename as-is.
[qemu/mdroth.git] / Makefile.hw
blobf4b4469a885fb98aa0db7808c916965a8c67558d
1 # Makefile for qemu target independent devices.
3 include ../config-host.mak
4 include ../config-all-devices.mak
5 include config.mak
6 include $(SRC_PATH)/rules.mak
8 .PHONY: all
10 VPATH=$(SRC_PATH):$(SRC_PATH)/hw
12 QEMU_CFLAGS+=-I.. -I$(SRC_PATH)/fpu
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
22 obj-$(CONFIG_M48T59) += m48t59.o
23 obj-$(CONFIG_ESCC) += escc.o
25 # PCI watchdog devices
26 obj-y += wdt_i6300esb.o
28 obj-y += msix.o
30 # PCI network cards
31 obj-y += ne2000.o
33 # SCSI layer
34 obj-y += lsi53c895a.o
35 obj-$(CONFIG_ESP) += esp.o
37 obj-y += dma-helpers.o sysbus.o isa-bus.o
38 obj-$(CONFIG_QDEV_ADDR) += qdev-addr.o
40 all: $(HWLIB)
41 # Dummy command so that make thinks it has done something
42         @true
44 $(HWLIB): $(obj-y)
46 clean:
47         rm -f *.o *.d *.a *~
49 # Include automatically generated dependency files
50 -include $(wildcard *.d */*.d)