aboutsummaryrefslogtreecommitdiff
path: root/Mk/Uses
diff options
context:
space:
mode:
authorRene Ladan <rene@FreeBSD.org>2014-01-31 18:00:55 +0000
committerRene Ladan <rene@FreeBSD.org>2014-01-31 18:00:55 +0000
commit106810bf8f3f056874541b22064f74dfd5c259c7 (patch)
treee3dc3a45dc4a2778b31f5bd38385367fec0a8930 /Mk/Uses
parent59289cf45009e23a18c357d0aff0cb37d0a2ba08 (diff)
downloadports-106810bf8f3f056874541b22064f74dfd5c259c7.tar.gz
ports-106810bf8f3f056874541b22064f74dfd5c259c7.zip
Notes
Diffstat (limited to 'Mk/Uses')
-rw-r--r--Mk/Uses/kmod.mk8
1 files changed, 1 insertions, 7 deletions
diff --git a/Mk/Uses/kmod.mk b/Mk/Uses/kmod.mk
index ebcdc54e909e..14ec4f7ae005 100644
--- a/Mk/Uses/kmod.mk
+++ b/Mk/Uses/kmod.mk
@@ -30,10 +30,7 @@ KMODDIR?= /boot/modules
KMODDIR= /boot/modules
.endif
PLIST_SUB+= KMODDIR="${KMODDIR:C,^/,,}"
-MAKE_ENV+= KMODDIR="${KMODDIR}" SYSDIR="${SRC_BASE}/sys"
-.if !defined(NO_STAGE)
-MAKE_ENV+= NO_XREF=yes
-.endif
+MAKE_ENV+= KMODDIR="${KMODDIR}" SYSDIR="${SRC_BASE}/sys" NO_XREF=yes
.endif
@@ -47,9 +44,6 @@ ${STAGEDIR}${KMODDIR}:
kmod-post-install:
@${ECHO_CMD} "@exec /usr/sbin/kldxref ${KMODDIR}" >> ${TMPPLIST}
@${ECHO_CMD} "@unexec /usr/sbin/kldxref ${KMODDIR}" >> ${TMPPLIST}
-.if defined(NO_STAGE)
- /usr/sbin/kldxref ${KMODDIR}
-.endif
.if ${KMODDIR} != /boot/modules
@${ECHO_CMD} "@unexec rmdir -p ${KMODDIR} 2>/dev/null || true" \
>> ${TMPPLIST}