302844c581
* Security fixes including CVE-2011-1583 CVE-2011-1898 * Enhancements to guest introspection (VM single stepping support for very fine-grained access control) * Many stability improvements, such as: PV-on-HVM stability fixes (fixing some IRQ issues), XSAVE cpu feature support for PV guests (allows safe use of latest multimedia instructions), RAS fixes for high availability, fixes for offlining bad pages and changes to libxc, mainly of benefit to libvirt * Compatibility fixes for newer Linux guests, newer compilers, some old guest savefiles, newer Python, grub2, some hardware/BIOS bugs.
50 lines
1.3 KiB
Makefile
50 lines
1.3 KiB
Makefile
# $NetBSD: Makefile,v 1.2 2011/06/16 10:28:47 cegger Exp $
|
|
#
|
|
|
|
VERSION= 4.1.1
|
|
DISTNAME= xen-${VERSION}
|
|
PKGNAME= xenkernel41-${VERSION}
|
|
#PKGREVISION= 1
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= http://bits.xensource.com/oss-xen/release/${VERSION}/
|
|
EXTRACT_SUFX= .tar.gz
|
|
|
|
MAINTAINER= cegger@NetBSD.org
|
|
HOMEPAGE= http://xen.org/
|
|
COMMENT= Xen 4.1.1 Kernel
|
|
|
|
LICENSE= gnu-gpl-v2
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
ONLY_FOR_PLATFORM= Linux-2.6*-i386 Linux-2.6*-x86_64
|
|
ONLY_FOR_PLATFORM+= NetBSD-[5-9].99.*-x86_64 NetBSD-[5-9].99.*-i386
|
|
|
|
WRKSRC= ${WRKDIR}/xen-${VERSION}
|
|
|
|
NO_CONFIGURE= yes
|
|
USE_TOOLS+= gmake
|
|
|
|
PYTHON_FOR_BUILD_ONLY= # empty
|
|
PY_PATCHPLIST= NO
|
|
|
|
# XXX Why does this not work?
|
|
# See work/xen-4.1.1/Config.mk:41 why PYTHON must be set and what for
|
|
MAKE_ENV+= PYTHON=${PYTHONBIN:Q}
|
|
MAKE_ENV+= OCAML_TOOLS=no
|
|
|
|
INSTALLATION_DIRS= xen41-kernel
|
|
|
|
do-build:
|
|
cd ${WRKSRC} && ${BUILD_MAKE_CMD} debug=n xen
|
|
${CP} ${WRKSRC}/dist/install/boot/xen.gz ${WRKDIR}/xen.gz
|
|
cd ${WRKSRC} && ${MAKE_PROGRAM} clean
|
|
cd ${WRKSRC} && ${BUILD_MAKE_CMD} debug=y xen
|
|
${CP} ${WRKSRC}/dist/install/boot/xen.gz ${WRKDIR}/xen-debug.gz
|
|
|
|
do-install:
|
|
${INSTALL_DATA} ${WRKDIR}/xen.gz ${DESTDIR}${PREFIX}/${INSTALLATION_DIRS}/xen.gz
|
|
${INSTALL_DATA} ${WRKDIR}/xen-debug.gz ${DESTDIR}${PREFIX}/${INSTALLATION_DIRS}/xen-debug.gz
|
|
|
|
.include "../../lang/python/application.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|