summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2002-05-01 01:32:28 +0000
committerpeter <peter@FreeBSD.org>2002-05-01 01:32:28 +0000
commitbf12d371f81e8d25e95923d8fd753182095784bb (patch)
tree3bbfec6e137fe148fa514325c2888f4e31cf0014
parent55a74432bbf38b478deaeae1ba5dd493cbae5f75 (diff)
downloadFreeBSD-src-bf12d371f81e8d25e95923d8fd753182095784bb.zip
FreeBSD-src-bf12d371f81e8d25e95923d8fd753182095784bb.tar.gz
Catch any stray KMODDEPS entries to make sure they do not keep turning up.
-rw-r--r--sys/conf/kmod.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/conf/kmod.mk b/sys/conf/kmod.mk
index 3790c88..8634516 100644
--- a/sys/conf/kmod.mk
+++ b/sys/conf/kmod.mk
@@ -82,6 +82,10 @@ KMODLOAD?= /sbin/kldload
KMODUNLOAD?= /sbin/kldunload
OBJCOPY?= objcopy
+.if defined(KMODDEPS)
+.error "Do not use KMODDEPS on 5.0+, use MODULE_VERSION/MODULE_DEPEND"
+.endif
+
.include <bsd.init.mk>
.SUFFIXES: .out .o .c .cc .cxx .C .y .l .s .S
OpenPOWER on IntegriCloud