From 808991de7cecc9e774ffe5031e29362207e75564 Mon Sep 17 00:00:00 2001 From: peter Date: Tue, 11 Sep 2001 01:09:24 +0000 Subject: Implement the long-awaited module->file cache database. A userland tool (kldxref(8)) keeps a cache of what modules and versions are inside what .ko files. I have tested this on both Alpha and i386. Submitted by: bp --- sys/conf/kmod.mk | 3 +++ 1 file changed, 3 insertions(+) (limited to 'sys/conf/kmod.mk') diff --git a/sys/conf/kmod.mk b/sys/conf/kmod.mk index b2109a5..ddf3abc 100644 --- a/sys/conf/kmod.mk +++ b/sys/conf/kmod.mk @@ -237,6 +237,9 @@ realinstall: _SUBDIR ln -fs $$l $$t; \ done; true .endif +.if !defined(NO_XREF) + kldxref ${DESTDIR}${KMODDIR} +.endif install: afterinstall _SUBDIR .if !defined(NOMAN) -- cgit v1.1