summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2001-02-18 20:23:22 +0000
committerpeter <peter@FreeBSD.org>2001-02-18 20:23:22 +0000
commit0d7f774a55ee467d46723265555ec69823265a49 (patch)
treec44eafbbddfcd4e4a81ae72646d447f9bbb3173d
parent5eeb5f7b269ef8c838d76b3303cee81901df1515 (diff)
downloadFreeBSD-src-0d7f774a55ee467d46723265555ec69823265a49.zip
FreeBSD-src-0d7f774a55ee467d46723265555ec69823265a49.tar.gz
"Fix" the machine/lock.h problem in modules depend with a sledge hammer.
This forces bsd.dep.mk to rebuild the .depend file.
-rw-r--r--sys/conf/kmod.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/conf/kmod.mk b/sys/conf/kmod.mk
index 6c5b31d..cf98e42 100644
--- a/sys/conf/kmod.mk
+++ b/sys/conf/kmod.mk
@@ -159,6 +159,7 @@ _ILINKS=@ machine
all: objwarn ${PROG} all-man _SUBDIR
beforedepend ${OBJS}: ${_ILINKS}
+ @rm -f .depend
# Search for kernel source tree in standard places.
.for _dir in ${.CURDIR}/../.. ${.CURDIR}/../../.. /sys /usr/src/sys
OpenPOWER on IntegriCloud