2009-05-19 23:17:58 +08:00
|
|
|
# Makefile for qemu target independent devices.
|
|
|
|
|
|
|
|
include ../config-host.mak
|
2009-07-27 22:12:50 +08:00
|
|
|
include config.mak
|
2009-05-19 23:17:58 +08:00
|
|
|
include $(SRC_PATH)/rules.mak
|
|
|
|
|
|
|
|
.PHONY: all
|
|
|
|
|
|
|
|
VPATH=$(SRC_PATH):$(SRC_PATH)/hw
|
|
|
|
|
2009-08-03 20:46:23 +08:00
|
|
|
QEMU_CFLAGS+=-I.. -I$(SRC_PATH)/fpu
|
2009-05-19 23:17:58 +08:00
|
|
|
|
2009-06-25 06:07:59 +08:00
|
|
|
obj-y =
|
2009-09-20 22:58:02 +08:00
|
|
|
obj-y += loader.o
|
2009-08-11 03:30:24 +08:00
|
|
|
obj-y += virtio.o
|
2009-06-25 06:07:59 +08:00
|
|
|
obj-y += fw_cfg.o
|
|
|
|
obj-y += watchdog.o
|
|
|
|
obj-y += nand.o ecc.o
|
2009-05-19 23:17:58 +08:00
|
|
|
|
2009-06-25 06:07:59 +08:00
|
|
|
obj-y += m48t59.o escc.o
|
2009-05-21 23:54:36 +08:00
|
|
|
|
2009-09-20 16:02:28 +08:00
|
|
|
# PCI watchdog devices
|
|
|
|
obj-y += wdt_i6300esb.o
|
|
|
|
|
2009-05-21 23:54:36 +08:00
|
|
|
# SCSI layer
|
2009-06-25 06:07:59 +08:00
|
|
|
obj-y += lsi53c895a.o esp.o
|
2009-05-19 23:17:58 +08:00
|
|
|
|
2009-09-15 02:34:54 +08:00
|
|
|
obj-y += dma-helpers.o sysbus.o qdev-addr.o isa-bus.o
|
2009-05-19 23:17:58 +08:00
|
|
|
|
|
|
|
all: $(HWLIB)
|
2009-05-26 01:54:53 +08:00
|
|
|
# Dummy command so that make thinks it has done something
|
|
|
|
@true
|
2009-05-19 23:17:58 +08:00
|
|
|
|
2009-06-25 06:07:59 +08:00
|
|
|
$(HWLIB): $(obj-y)
|
2009-05-19 23:17:58 +08:00
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f *.o *.d *.a *~
|
|
|
|
|
|
|
|
# Include automatically generated dependency files
|
|
|
|
-include $(wildcard *.d */*.d)
|