diff options
Diffstat (limited to 'sys/modules/vmm/Makefile')
-rw-r--r-- | sys/modules/vmm/Makefile | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/sys/modules/vmm/Makefile b/sys/modules/vmm/Makefile index d94ceba..882864a 100644 --- a/sys/modules/vmm/Makefile +++ b/sys/modules/vmm/Makefile @@ -7,13 +7,13 @@ SRCS+= vmx_assym.h svm_assym.h DPSRCS= vmx_genassym.c svm_genassym.c CFLAGS+= -DVMM_KEEP_STATS -DSMP -CFLAGS+= -I${.CURDIR}/../../amd64/vmm -CFLAGS+= -I${.CURDIR}/../../amd64/vmm/io -CFLAGS+= -I${.CURDIR}/../../amd64/vmm/intel -CFLAGS+= -I${.CURDIR}/../../amd64/vmm/amd +CFLAGS+= -I${SRCTOP}/sys/amd64/vmm +CFLAGS+= -I${SRCTOP}/sys/amd64/vmm/io +CFLAGS+= -I${SRCTOP}/sys/amd64/vmm/intel +CFLAGS+= -I${SRCTOP}/sys/amd64/vmm/amd # generic vmm support -.PATH: ${.CURDIR}/../../amd64/vmm +.PATH: ${SRCTOP}/sys/amd64/vmm SRCS+= vmm.c \ vmm_dev.c \ vmm_host.c \ @@ -25,7 +25,7 @@ SRCS+= vmm.c \ vmm_util.c \ x86.c -.PATH: ${.CURDIR}/../../amd64/vmm/io +.PATH: ${SRCTOP}/sys/amd64/vmm/io SRCS+= iommu.c \ ppt.c \ vatpic.c \ @@ -37,7 +37,7 @@ SRCS+= iommu.c \ vrtc.c # intel-specific files -.PATH: ${.CURDIR}/../../amd64/vmm/intel +.PATH: ${SRCTOP}/sys/amd64/vmm/intel SRCS+= ept.c \ vmcs.c \ vmx_msr.c \ @@ -46,7 +46,7 @@ SRCS+= ept.c \ vtd.c # amd-specific files -.PATH: ${.CURDIR}/../../amd64/vmm/amd +.PATH: ${SRCTOP}/sys/amd64/vmm/amd SRCS+= vmcb.c \ svm.c \ svm_support.S \ @@ -71,9 +71,9 @@ svm_support.o: ${.IMPSRC} -o ${.TARGET} vmx_genassym.o: - ${CC} -c ${CFLAGS:N-fno-common} ${.IMPSRC} + ${CC} -c ${CFLAGS:N-flto:N-fno-common} ${.IMPSRC} svm_genassym.o: - ${CC} -c ${CFLAGS:N-fno-common} ${.IMPSRC} + ${CC} -c ${CFLAGS:N-flto:N-fno-common} ${.IMPSRC} .include <bsd.kmod.mk> |