aboutsummaryrefslogtreecommitdiff
path: root/sys/modules/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sys/modules/Makefile')
-rw-r--r--sys/modules/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/modules/Makefile b/sys/modules/Makefile
index 46c244a02b42..085e7f35f81f 100644
--- a/sys/modules/Makefile
+++ b/sys/modules/Makefile
@@ -1,6 +1,6 @@
# $FreeBSD$
-SYSDIR?=${.CURDIR}/..
+SYSDIR?=${SRCTOP}/sys
.include "${SYSDIR}/conf/kern.opts.mk"
SUBDIR_PARALLEL=
@@ -423,7 +423,7 @@ SUBDIR+= opensolaris
.endif
.if ${MK_CRYPT} != "no" || defined(ALL_MODULES)
-.if exists(${.CURDIR}/../opencrypto)
+.if exists(${SRCTOP}/sys/opencrypto)
_crypto= crypto
_cryptodev= cryptodev
_random_fortuna=random_fortuna