WITH_ATF=
WITHOUT_ATM=
WITHOUT_BHYVE=
WITHOUT_BLUETOOTH=
WITH_BMAKE=
WITHOUT_BSDCONFIG=
WITHOUT_BSDINSTALL=
WITHOUT_BSNMP=
WITHOUT_CALENDAR=
#WITHOUT_CDDL=
#WITHOUT_CLANG=
WITHOUT_CLANG_IS_CC=
WITHOUT_CVS=
WITHOUT_DICT=
WITHOUT_GAMES=
WITHOUT_GPIB=
WITHOUT_GSSAPI=
WITHOUT_HAST=
WITHOUT_HESOID=
WITHOUT_HTML=
WITHOUT_I4B=
#WITHOUT_INET6=
WITHOUT_IPFILTER=
WITHOUT_IPFW=
WITHOUT_IPX=
WITHOUT_KERBEROS=
WITHOUT_LPR=
WITHOUT_NCP=
WITHOUT_NIS=
WITHOUT_NS_CACHING=
WITH_OFED=
WITHOUT_PC_SYSINSTALL=
WITHOUT_PF=
WITHOUT_PPP=
WITHOUT_RADIUS=
WITHOUT_RCMDS=
WITHOUT_ROUTED=
WITHOUT_SYSINSTALL=
WITHOUT_TCSH=
WITH_TESTS=
WITHOUT_WIRELESS=
WITHOUT_WPA_SUPPLICANT_EAPOL=
#WITHOUT_ZFS=

DEFAULT_KERNCONF=	GRAN-TOURISMO
DEFAULT_KERNCONFDIR=	/root

KERNCONF?=		${DEFAULT_KERNCONF}-DEBUG ${DEFAULT_KERNCONF}

KERNCONFDIR?=		${DEFAULT_KERNCONFDIR}

SYSDIR=			/usr/src/sys

.if ${KERNCONFDIR} == ${DEFAULT_KERNCONFDIR}

MODULES_OVERRIDE=	cpuctl

# dtrace
MODULES_OVERRIDE+=	cyclic dtrace

MODULES_OVERRIDE+=	bge cxgbe

# geom/geli/etc
MODULES_OVERRIDE+=	zlib crypto geom

#MODULES_OVERRIDE+=	ipoib mlx mlx4 mlx4ib mlxen sdp

MODULES_OVERRIDE+=	linprocfs linsysfs linux

MODULES_OVERRIDE+=	netgraph

# NFS.
MODULES_OVERRIDE+=	krpc nfscl nfscommon nfs_common nfsclient nfsd nfslock
MODULES_OVERRIDE+=	nfslockd nfsserver nfssvc

MODULES_OVERRIDE+=	nullfs procfs

# POSIX features.
MODULES_OVERRIDE+=      aio mqueue sem

MODULES_OVERRIDE+=	opensolaris tmpfs zfs

.endif

# Uninvasive augmentations to the source tree.
LOCAL_DIRS+=	usr.bin/make
.if make(install)
.if ${.CURDIR:T} == "telnet"
LINKS+=	${BINDIR}/telnet ${BINDIR}/stelnet
.endif
.endif
