Catch any stray KMODDEPS entries to make sure they do not keep turning up.

This commit is contained in:
Peter Wemm 2002-05-01 01:32:28 +00:00
parent aed0556447
commit 06639be707

View File

@ -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