Changeset View
Changeset View
Standalone View
Standalone View
emulators/xen-kernel47/Makefile
Show First 20 Lines • Show All 95 Lines • ▼ Show 20 Lines | EXTRA_PATCHES= ${FILESDIR}/0001-xen-logdirty-prevent-preemption-if-finished.patch:-p1 \ | ||||
${FILESDIR}/0002-x86-allow-Meltdown-band-aid-to-be-disabled.patch:-p1 | ${FILESDIR}/0002-x86-allow-Meltdown-band-aid-to-be-disabled.patch:-p1 | ||||
.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} < 1100055 | |||||
IGNORE= only supported on recent FreeBSD 11 | |||||
.endif | |||||
pre-build: | pre-build: | ||||
${MAKE_CMD} -C ${WRKSRC}/xen defconfig ${MAKE_ARGS} | ${MAKE_CMD} -C ${WRKSRC}/xen defconfig ${MAKE_ARGS} | ||||
# Enable hypervisor hot-patching. | # Enable hypervisor hot-patching. | ||||
echo 'CONFIG_XSPLICE=y' >> ${WRKSRC}/xen/.config | echo 'CONFIG_XSPLICE=y' >> ${WRKSRC}/xen/.config | ||||
echo 'CONFIG_FAST_SYMBOL_LOOKUP=y' >> ${WRKSRC}/xen/.config | echo 'CONFIG_FAST_SYMBOL_LOOKUP=y' >> ${WRKSRC}/xen/.config | ||||
# 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. | ||||
Show All 9 Lines |