Changeset View
Changeset View
Standalone View
Standalone View
head/emulators/xen-kernel/Makefile
Show First 20 Lines • Show All 47 Lines • ▼ Show 20 Lines | |||||
.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 | ||||
IGNORE= only supported on recent FreeBSD HEAD | IGNORE= only supported on FreeBSD 12.0 or newer | ||||
.endif | .endif | ||||
# The ports native 'build' target cannot be used because it sets | # The ports native 'build' target cannot be used because it sets | ||||
# CFLAGS, and that breaks the Xen build system. | # CFLAGS, and that breaks the Xen build system. | ||||
do-build: | do-build: | ||||
${MAKE_CMD} -j${MAKE_JOBS_NUMBER} -C ${WRKSRC} build-xen ${MAKE_ARGS} | ${MAKE_CMD} -j${MAKE_JOBS_NUMBER} -C ${WRKSRC} build-xen ${MAKE_ARGS} | ||||
do-install: | do-install: | ||||
${MKDIR} ${STAGEDIR}/boot | ${MKDIR} ${STAGEDIR}/boot | ||||
${MKDIR} ${STAGEDIR}${PREFIX}/lib/debug/boot/ | ${MKDIR} ${STAGEDIR}${PREFIX}/lib/debug/boot/ | ||||
${INSTALL_PROGRAM} ${WRKSRC}/xen/xen ${STAGEDIR}/boot | ${INSTALL_PROGRAM} ${WRKSRC}/xen/xen ${STAGEDIR}/boot | ||||
${INSTALL_DATA} ${FILESDIR}/xen.4th ${STAGEDIR}/boot | ${INSTALL_DATA} ${FILESDIR}/xen.4th ${STAGEDIR}/boot | ||||
${INSTALL_DATA} ${WRKSRC}/xen/xen-syms ${STAGEDIR}${PREFIX}/lib/debug/boot/xen.debug | ${INSTALL_DATA} ${WRKSRC}/xen/xen-syms ${STAGEDIR}${PREFIX}/lib/debug/boot/xen.debug | ||||
.include <bsd.port.mk> | .include <bsd.port.mk> |