From 106810bf8f3f056874541b22064f74dfd5c259c7 Mon Sep 17 00:00:00 2001 From: Rene Ladan Date: Fri, 31 Jan 2014 18:00:55 +0000 Subject: Remove support for unstaged ports. Approved by: bapt --- Mk/Uses/kmod.mk | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'Mk/Uses') 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} -- cgit v1.2.3