Changeset View
Changeset View
Standalone View
Standalone View
sysutils/openzfs-kmod/Makefile
Show All 26 Lines | |||||
GCOV_DESC= Build kernel module with GCOV support (Requires gcc) | GCOV_DESC= Build kernel module with GCOV support (Requires gcc) | ||||
.include <bsd.port.pre.mk> | .include <bsd.port.pre.mk> | ||||
.if (${OSVERSION} < 1200504) || (${OSVERSION} >= 1300000 && ${OSVERSION} < 1300013) | .if (${OSVERSION} < 1200504) || (${OSVERSION} >= 1300000 && ${OSVERSION} < 1300013) | ||||
IGNORE= needs FreeBSD 12/13 with AES-CCM support | IGNORE= needs FreeBSD 12/13 with AES-CCM support | ||||
.endif | .endif | ||||
.if !exists(${SRC_BASE}/sys/Makefile) | |||||
IGNORE= requires kernel source files in ${SRC_BASE} | |||||
.endif | |||||
MAKE_OPTS+= SYSDIR=${SRC_BASE}/sys | |||||
.if ${PORT_OPTIONS:MDEBUG} | .if ${PORT_OPTIONS:MDEBUG} | ||||
MAKE_OPTS+= WITH_DEBUG=true | MAKE_OPTS+= WITH_DEBUG=true | ||||
PLIST_FILES+= ${KMODDIR}/${KMODTARGET}.debug | PLIST_FILES+= ${KMODDIR}/${KMODTARGET}.debug | ||||
.endif | .endif | ||||
.if ${PORT_OPTIONS:MGCOV} | .if ${PORT_OPTIONS:MGCOV} | ||||
USE_GCC= yes | USE_GCC= yes | ||||
MAKE_OPTS+= WITH_GCOV=true | MAKE_OPTS+= WITH_GCOV=true | ||||
Show All 21 Lines |