aboutsummaryrefslogtreecommitdiffstats
path: root/Mk
diff options
context:
space:
mode:
authorrene <rene@FreeBSD.org>2014-02-01 02:00:55 +0800
committerrene <rene@FreeBSD.org>2014-02-01 02:00:55 +0800
commit451d8a60275709ecee4640512fbfa8f3d098d507 (patch)
treee3dc3a45dc4a2778b31f5bd38385367fec0a8930 /Mk
parenta51921db2ca893b57db41d622cdefa814a068a6b (diff)
downloadfreebsd-ports-graphics-451d8a60275709ecee4640512fbfa8f3d098d507.tar.gz
freebsd-ports-graphics-451d8a60275709ecee4640512fbfa8f3d098d507.tar.zst
freebsd-ports-graphics-451d8a60275709ecee4640512fbfa8f3d098d507.zip
Remove support for unstaged ports.
Approved by: bapt
Diffstat (limited to 'Mk')
-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 ebcdc54e909..14ec4f7ae00 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}