Changeset View
Changeset View
Standalone View
Standalone View
emulators/xen-kernel/Makefile
# $FreeBSD$ | # $FreeBSD$ | ||||
PORTNAME= xen | PORTNAME= xen | ||||
PORTVERSION= 4.12.0 | PORTVERSION= 4.12.0 | ||||
PORTREVISION= 0 | PORTREVISION= 1 | ||||
CATEGORIES= emulators | CATEGORIES= emulators | ||||
MASTER_SITES= http://downloads.xenproject.org/release/xen/${PORTVERSION}/ | MASTER_SITES= http://downloads.xenproject.org/release/xen/${PORTVERSION}/ | ||||
PKGNAMESUFFIX= -kernel | PKGNAMESUFFIX= -kernel | ||||
MAINTAINER= royger@FreeBSD.org | MAINTAINER= royger@FreeBSD.org | ||||
COMMENT= Hypervisor using a microkernel design | COMMENT= Hypervisor using a microkernel design | ||||
LICENSE= GPLv2 | LICENSE= GPLv2 | ||||
ONLY_FOR_ARCHS= amd64 | ONLY_FOR_ARCHS= amd64 | ||||
USES= cpe gmake python:2.7,build | USES= cpe gmake python:2.7,build | ||||
# Ports build environment has ARCH=amd64 set which disables Xen automatic arch | # Ports build environment has ARCH=amd64 set which disables Xen automatic arch | ||||
# detection, but amd64 is not a valid arch for Xen. Hardcode x86_64 on the | # detection, but amd64 is not a valid arch for Xen. Hardcode x86_64 on the | ||||
# command line in order to overwrite the one from the environment. | # command line in order to overwrite the one from the environment. | ||||
MAKE_ARGS= clang=y PYTHON=${PYTHON_CMD} ARCH=x86_64 | MAKE_ARGS= clang=y PYTHON=${PYTHON_CMD} ARCH=x86_64 | ||||
NO_MTREE= yes | NO_MTREE= yes | ||||
STRIP= # | STRIP= # | ||||
PLIST_FILES= /boot/xen \ | PLIST_FILES= /boot/xen \ | ||||
lib/debug/boot/xen.debug | lib/debug/boot/xen.debug | ||||
# Pre-patches for XSA-297 to apply cleanly | |||||
EXTRA_PATCHES+= ${PATCHDIR}/0001-x86-tsx-Implement-controls-for-RTM-force-abort-mode.patch:-p1 \ | |||||
${PATCHDIR}/0001-x86-msr-Shorten-ARCH_CAPABILITIES_-constants.patch:-p1 \ | |||||
${PATCHDIR}/0002-x86-spec-ctrl-Extend-repoline-safey-calcuations-for-.patch:-p1 | |||||
# Fixes for XSA-297 (MDS) | |||||
EXTRA_PATCHES+= ${PATCHDIR}/xsa297-4.12-1.patch:-p1 \ | |||||
${PATCHDIR}/xsa297-4.12-2.patch:-p1 \ | |||||
${PATCHDIR}/xsa297-4.12-3.patch:-p1 \ | |||||
${PATCHDIR}/xsa297-4.12-4.patch:-p1 \ | |||||
${PATCHDIR}/xsa297-4.12-5.patch:-p1 \ | |||||
${PATCHDIR}/xsa297-4.12-6.patch:-p1 \ | |||||
${PATCHDIR}/xsa297-4.12-7.patch:-p1 | |||||
mat: All those should be `PATCHDIR`, not `FILESDIR`. | |||||
.include <bsd.port.options.mk> | .include <bsd.port.options.mk> | ||||
.if ${OPSYS} != FreeBSD | .if ${OPSYS} != FreeBSD | ||||
IGNORE= only supported on FreeBSD | IGNORE= only supported on FreeBSD | ||||
.endif | .endif | ||||
.if ${OSVERSION} < 1200074 | .if ${OSVERSION} < 1200074 | ||||
Show All 15 Lines |
All those should be PATCHDIR, not FILESDIR.