diff options
Diffstat (limited to 'Mk/Uses/kmod.mk')
-rw-r--r-- | Mk/Uses/kmod.mk | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Mk/Uses/kmod.mk b/Mk/Uses/kmod.mk index b85513e921f7..6bffa0deacb6 100644 --- a/Mk/Uses/kmod.mk +++ b/Mk/Uses/kmod.mk @@ -26,6 +26,9 @@ SSP_UNSAFE= kernel module does not support SSP KMODDIR?= /boot/modules PLIST_SUB+= KMODDIR="${KMODDIR:C,^/,,}" MAKE_ENV+= KMODDIR="${KMODDIR}" SYSDIR="${SRC_BASE}/sys" +.if !defined(NO_STAGE) +MAKE_ENV+= NO_XREF=yes +.endif pre-install: kmod-pre-install kmod-pre-install: |