⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 rules.mk

📁 xen虚拟机源代码安装包
💻 MK
字号:
######################################### x86-specific definitionsHAS_ACPI := yHAS_VGA  := yxenoprof := y## If you change any of these configuration options then you must# 'make clean' before rebuilding.#supervisor_mode_kernel ?= n# Solaris grabs stdarg.h and friends from the system include directory.ifneq ($(XEN_OS),SunOS)CFLAGS += -nostdincendifCFLAGS += -fno-builtin -fno-commonCFLAGS += -iwithprefix include -Werror -Wno-pointer-arith -pipeCFLAGS += -I$(BASEDIR)/include CFLAGS += -I$(BASEDIR)/include/asm-x86/mach-genericCFLAGS += -I$(BASEDIR)/include/asm-x86/mach-default# Prevent floating-point variables from creeping into Xen.CFLAGS += -msoft-float# Disable PIE/SSP if GCC supports them. They can break us.CFLAGS += $(call cc-option,$(CC),-nopie,)CFLAGS += $(call cc-option,$(CC),-fno-stack-protector,)CFLAGS += $(call cc-option,$(CC),-fno-stack-protector-all,)ifeq ($(supervisor_mode_kernel),y)CFLAGS += -DCONFIG_X86_SUPERVISOR_MODE_KERNEL=1endifx86 := yifeq ($(TARGET_SUBARCH),x86_32)x86_32 := yx86_64 := nendififeq ($(TARGET_SUBARCH),x86_64)CFLAGS += -mno-red-zone -fpic -fno-reorder-blocksCFLAGS += -fno-asynchronous-unwind-tables# -fvisibility=hidden reduces -fpic cost, if it's availableCFLAGS += $(call cc-option,$(CC),-fvisibility=hidden,)CFLAGS := $(subst -fvisibility=hidden,-DGCC_HAS_VISIBILITY_ATTRIBUTE,$(CFLAGS))x86_32 := nx86_64 := yendifHDRS += $(wildcard $(BASEDIR)/include/asm-x86/hvm/*.h)HDRS += $(wildcard $(BASEDIR)/include/asm-x86/hvm/svm/*.h)HDRS += $(wildcard $(BASEDIR)/include/asm-x86/hvm/vmx/*.h)HDRS += $(wildcard $(BASEDIR)/include/asm-x86/mach-*/*.h)# Require GCC v3.4+ (to avoid issues with alignment constraints in Xen headers)$(call cc-ver-check,CC,0x030400,"Xen requires at least gcc-3.4")

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -