1 Star 0 Fork 0

湖南大学-谭怀亮/qemu-xen-traditional

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
xen-hooks.mak 2.13 KB
一键复制 编辑 原始数据 按行查看 历史
XEN_LIBS = evtchn gnttab ctrl guest store
CPPFLAGS+= -DXC_WANT_COMPAT_MAP_FOREIGN_API
CPPFLAGS+= -DXC_WANT_COMPAT_DEVICEMODEL_API
CPPFLAGS += $(foreach lib,$(XEN_LIBS),$(CFLAGS_libxen$(lib)))
CPPFLAGS+= -I$(XEN_ROOT)/tools/include
SSE2 := $(call cc-option,-msse2,)
ifeq ($(SSE2),-msse2)
CFLAGS += -DUSE_SSE2=1 -msse2
endif
override QEMU_PROG=qemu-dm
CFLAGS += -Wno-unused -Wno-declaration-after-statement
ifeq (,$(shell $(CC) -Wno-pointer-sign -E - </dev/null >/dev/null || echo x))
CFLAGS += -Wno-pointer-sign
endif
CFLAGS += $(CMDLINE_CFLAGS)
LIBS += $(foreach lib,$(XEN_LIBS),$(LDLIBS_libxen$(lib)))
LDFLAGS := $(CFLAGS) $(LDFLAGS)
OBJS += piix4acpi.o
OBJS += xenstore.o
OBJS += xen_platform.o
OBJS += xen_machine_fv.o
OBJS += xen_machine_pv.o
OBJS += xen_backend.o
OBJS += xenfb.o
OBJS += xen_console.o
ifndef CONFIG_STUBDOM
OBJS += xen_disk.o
endif
OBJS += xen_machine_fv.o
OBJS += exec-dm.o
OBJS += pci_emulation.o
OBJS += helper2.o
OBJS += battery_mgmt.o
ifdef CONFIG_STUBDOM
CPPFLAGS += $(TARGET_CPPFLAGS) -DNEED_CPU_H \
-I$(TARGET_DIRS) -I$(QEMU_ROOT)/i386-dm -I$(QEMU_ROOT)/hw -I$(QEMU_ROOT)/fpu
CONFIG_SDL=
CONFIG_AUDIO=
OBJS += xenfbfront.o
else
ifndef CONFIG_NetBSD
ifneq ($(CONFIG_BLKTAP1),n)
CPPFLAGS+= -DCONFIG_BLKTAP1 -I$(XEN_ROOT)/tools/blktap/lib
LIBS += -L$(XEN_ROOT)/tools/blktap/lib -lblktap
OBJS += xen_blktap.o
endif
OBJS += tpm_tis.o
endif
endif
ifdef CONFIG_STUBDOM
CONFIG_PASSTHROUGH=1
else
ifeq (,$(wildcard /usr/include/pci))
$(warning === pciutils-dev package not found - missing /usr/include/pci)
$(warning === PCI passthrough capability has been disabled)
else
CONFIG_PASSTHROUGH=1
endif
endif
ifdef CONFIG_PASSTHROUGH
OBJS+= pass-through.o pt-msi.o pt-graphics.o
LIBS += -lpci
CFLAGS += -DCONFIG_PASSTHROUGH
$(info === PCI passthrough capability has been enabled ===)
endif
BAD_OBJS += gdbstub.o acpi.o apic.o
BAD_OBJS += vmmouse.o vmport.o tcg* helper.o vmware_vga.o virtio-balloon.o
OBJS := $(filter-out $(BAD_OBJS), $(OBJS))
EXESUF=-xen
datadir := $(subst qemu,xen/qemu,$(datadir))
docdir := $(subst qemu,xen/qemu,$(docdir))
mandir := $(subst share/man,share/xen/man,$(mandir))
BUILD_DOCS=
configdir := $(XEN_SCRIPT_DIR)
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/hunan-university-embedded-lab/qemu-xen-traditional.git
git@gitee.com:hunan-university-embedded-lab/qemu-xen-traditional.git
hunan-university-embedded-lab
qemu-xen-traditional
qemu-xen-traditional
master

搜索帮助