diff options
author | peter <peter@FreeBSD.org> | 2002-05-01 01:32:28 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2002-05-01 01:32:28 +0000 |
commit | bf12d371f81e8d25e95923d8fd753182095784bb (patch) | |
tree | 3bbfec6e137fe148fa514325c2888f4e31cf0014 /sys | |
parent | 55a74432bbf38b478deaeae1ba5dd493cbae5f75 (diff) | |
download | FreeBSD-src-bf12d371f81e8d25e95923d8fd753182095784bb.zip FreeBSD-src-bf12d371f81e8d25e95923d8fd753182095784bb.tar.gz |
Catch any stray KMODDEPS entries to make sure they do not keep turning up.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/conf/kmod.mk | 4 |
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 |