aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorJake Burkholder <jake@FreeBSD.org>2003-01-21 05:52:48 +0000
committerJake Burkholder <jake@FreeBSD.org>2003-01-21 05:52:48 +0000
commit4875819c6e13176308eb5906bf83d00502cc0d51 (patch)
treec8cdcf225a503e9ecbe618eaded895485c6224dc /sys
parenta438ad07189d65b5ed285253c4f2f2d94dda17d9 (diff)
Notes
Diffstat (limited to 'sys')
-rw-r--r--sys/conf/kmod.mk2
-rw-r--r--sys/modules/Makefile2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/conf/kmod.mk b/sys/conf/kmod.mk
index bc04d11b65423..78a6d334094d1 100644
--- a/sys/conf/kmod.mk
+++ b/sys/conf/kmod.mk
@@ -213,7 +213,7 @@ _kmodinstall:
.include <bsd.links.mk>
-.if !defined(NO_XREF) && ${MACHINE_ARCH} != "sparc64"
+.if !defined(NO_XREF)
afterinstall: _kldxref
.ORDER: realinstall _kldxref
.ORDER: _installlinks _kldxref
diff --git a/sys/modules/Makefile b/sys/modules/Makefile
index 50c5efd1bcb51..8e4acab20447d 100644
--- a/sys/modules/Makefile
+++ b/sys/modules/Makefile
@@ -282,7 +282,7 @@ SUBDIR=${MODULES_OVERRIDE}
.endif
# Calling kldxref(8) for each module is expensive.
-.if !defined(NO_XREF) && ${MACHINE_ARCH} != "sparc64"
+.if !defined(NO_XREF)
.MAKEFLAGS:= ${.MAKEFLAGS} -DNO_XREF
afterinstall:
@if type kldxref >/dev/null 2>&1; then \