summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2003-03-03 22:51:22 +0000
committerru <ru@FreeBSD.org>2003-03-03 22:51:22 +0000
commitb9d961af594cb9fc01abead1ba9fd397026a9363 (patch)
treeefe714999d6014b79d47f703e4b1b72623f6a784 /sys
parentbc6ef60e0ec5475013434c5f67b4c219a4ae8e88 (diff)
downloadFreeBSD-src-b9d961af594cb9fc01abead1ba9fd397026a9363.zip
FreeBSD-src-b9d961af594cb9fc01abead1ba9fd397026a9363.tar.gz
exists() is too aggressive when searching for files without a full path.
Inspired by: bsd.prog.mk,v 1.105
Diffstat (limited to 'sys')
-rw-r--r--sys/conf/kmod.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/conf/kmod.mk b/sys/conf/kmod.mk
index 1c0369d..b25bfca 100644
--- a/sys/conf/kmod.mk
+++ b/sys/conf/kmod.mk
@@ -304,7 +304,7 @@ lint: ${SRCS}
.include <bsd.dep.mk>
-.if !exists(${DEPENDFILE})
+.if !exists(${.OBJDIR}/${DEPENDFILE})
${OBJS}: ${SRCS:M*.h}
.endif
OpenPOWER on IntegriCloud