mirror of
https://github.com/qemu/qemu.git
synced 2024-11-25 20:03:37 +08:00
4f3a1d56e4
Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
42 lines
815 B
Makefile
42 lines
815 B
Makefile
# Makefile for qemu target independent devices.
|
|
|
|
include config.mak
|
|
include ../config-host.mak
|
|
include $(SRC_PATH)/rules.mak
|
|
|
|
.PHONY: all
|
|
|
|
VPATH=$(SRC_PATH):$(SRC_PATH)/hw
|
|
|
|
CFLAGS += $(OS_CFLAGS) $(ARCH_CFLAGS)
|
|
LDFLAGS += $(OS_LDFLAGS) $(ARCH_LDFLAGS)
|
|
|
|
CPPFLAGS += -I. -I.. -I$(SRC_PATH) -MMD -MP -MT $@
|
|
CPPFLAGS += -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
|
|
CPPFLAGS+=-I$(SRC_PATH)/fpu
|
|
|
|
obj-y =
|
|
obj-y += virtio.o virtio-pci.o
|
|
obj-y += fw_cfg.o
|
|
obj-y += watchdog.o
|
|
obj-y += nand.o ecc.o
|
|
|
|
obj-y += m48t59.o escc.o
|
|
|
|
# SCSI layer
|
|
obj-y += lsi53c895a.o esp.o
|
|
|
|
obj-y += dma-helpers.o sysbus.o
|
|
|
|
all: $(HWLIB)
|
|
# Dummy command so that make thinks it has done something
|
|
@true
|
|
|
|
$(HWLIB): $(obj-y)
|
|
|
|
clean:
|
|
rm -f *.o *.d *.a *~
|
|
|
|
# Include automatically generated dependency files
|
|
-include $(wildcard *.d */*.d)
|