summaryrefslogtreecommitdiffstats
path: root/sys/conf
diff options
context:
space:
mode:
authorjake <jake@FreeBSD.org>2002-12-13 00:32:29 +0000
committerjake <jake@FreeBSD.org>2002-12-13 00:32:29 +0000
commitd9f442c592e5d5227b7d9d49d0c10e8f352e6a11 (patch)
treeaf211007de04b1b9571b402ee9701ae3c1b1ee41 /sys/conf
parent5b7e5464eedd72fa029e540af642a74b4a87a604 (diff)
downloadFreeBSD-src-d9f442c592e5d5227b7d9d49d0c10e8f352e6a11.zip
FreeBSD-src-d9f442c592e5d5227b7d9d49d0c10e8f352e6a11.tar.gz
Don't run kldxref when installing modules on sparc64. kldxref and the whole
module dependency system rely on linker behaviour that is machine dependent and not part of the elf spec, and only work by accident on other platforms. Approved by: re
Diffstat (limited to 'sys/conf')
-rw-r--r--sys/conf/kmod.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/conf/kmod.mk b/sys/conf/kmod.mk
index 497c00d..0d8a1aa 100644
--- a/sys/conf/kmod.mk
+++ b/sys/conf/kmod.mk
@@ -213,7 +213,7 @@ _kmodinstall:
.include <bsd.links.mk>
-.if !defined(NO_XREF)
+.if !defined(NO_XREF) && ${MACHINE_ARCH} != "sparc64"
afterinstall: _kldxref
.ORDER: realinstall _kldxref
.ORDER: _installlinks _kldxref
OpenPOWER on IntegriCloud