diff options
author | jym <jym> | 2011-11-20 03:12:44 +0000 |
---|---|---|
committer | jym <jym> | 2011-11-20 03:12:44 +0000 |
commit | 7314feefa7a40295b8557b78f94cf5859e7c8944 (patch) | |
tree | 444c2942cf3f25caa326201506f2ad1583e3aaac /sysutils | |
parent | 11be69d74e60339f2506674c5060e8c06edebf04 (diff) | |
download | pkgsrc-7314feefa7a40295b8557b78f94cf5859e7c8944.tar.gz |
Add a MESSAGE so that we can point to the right location for Xen kernels.
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/xenkernel41/MESSAGE | 7 | ||||
-rw-r--r-- | sysutils/xenkernel41/Makefile | 11 |
2 files changed, 15 insertions, 3 deletions
diff --git a/sysutils/xenkernel41/MESSAGE b/sysutils/xenkernel41/MESSAGE new file mode 100644 index 00000000000..1339881d91c --- /dev/null +++ b/sysutils/xenkernel41/MESSAGE @@ -0,0 +1,7 @@ +=========================================================================== +$NetBSD: MESSAGE,v 1.1 2011/11/20 03:12:44 jym Exp $ + +The Xen hypervisor is installed under the following locations: + ${XENKERNELDIR}/xen.gz (standard hypervisor) + ${XENKERNELDIR}/xen-debug.gz (debug hypervisor) +=========================================================================== diff --git a/sysutils/xenkernel41/Makefile b/sysutils/xenkernel41/Makefile index 8e91dd3d4f2..f9953d83994 100644 --- a/sysutils/xenkernel41/Makefile +++ b/sysutils/xenkernel41/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.4 2011/10/21 18:26:58 cegger Exp $ +# $NetBSD: Makefile,v 1.5 2011/11/20 03:12:44 jym Exp $ # VERSION= 4.1.2 @@ -34,6 +34,9 @@ MAKE_ENV+= PYTHON=${PYTHONBIN:Q} MAKE_ENV+= OCAML_TOOLS=no INSTALLATION_DIRS= xen41-kernel +XENKERNELDIR= ${PREFIX}/${INSTALLATION_DIRS} + +MESSAGE_SUBST+= XENKERNELDIR=${XENKERNELDIR:Q} do-build: cd ${WRKSRC} && ${BUILD_MAKE_CMD} debug=n xen @@ -43,8 +46,10 @@ do-build: ${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 + ${INSTALL_DATA} ${WRKDIR}/xen.gz \ + ${DESTDIR}${XENKERNELDIR}/xen.gz + ${INSTALL_DATA} ${WRKDIR}/xen-debug.gz \ + ${DESTDIR}${XENKERNELDIR}/xen-debug.gz .include "../../lang/python/application.mk" .include "../../mk/bsd.pkg.mk" |