aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorBryan Drewery <bdrewery@FreeBSD.org>2017-12-05 02:23:23 +0000
committerBryan Drewery <bdrewery@FreeBSD.org>2017-12-05 02:23:23 +0000
commitb4585565d57d2c95581ddd076a0857941dfa9984 (patch)
treec036b842633ed18cdd0098241d26362de2a213cc /sys
parenta6aca65caf74e6218a2b4cdab715522d60c137bb (diff)
downloadsrc-b4585565d57d2c95581ddd076a0857941dfa9984.tar.gz
src-b4585565d57d2c95581ddd076a0857941dfa9984.zip
Rename DEPENDFILES_OBJS to DEPENDFILES.
This is to be consistent with bsd.dep.mk using DEPENDFILES after r325677. Sponsored by: Dell EMC
Notes
Notes: svn path=/head/; revision=326549
Diffstat (limited to 'sys')
-rw-r--r--sys/conf/kern.post.mk11
1 files changed, 5 insertions, 6 deletions
diff --git a/sys/conf/kern.post.mk b/sys/conf/kern.post.mk
index 88c3eb657ed9..25a677d73329 100644
--- a/sys/conf/kern.post.mk
+++ b/sys/conf/kern.post.mk
@@ -209,9 +209,8 @@ kernel-depend: .depend
SRCS= assym.s vnode_if.h ${BEFORE_DEPEND} ${CFILES} \
${SYSTEM_CFILES} ${GEN_CFILES} ${SFILES} \
${MFILES:T:S/.m$/.h/}
-DEPENDFILES= .depend .depend.*
DEPENDOBJS+= ${SYSTEM_OBJS} genassym.o
-DEPENDFILES_OBJS= ${DEPENDOBJS:O:u:C/^/.depend./}
+DEPENDFILES= ${DEPENDOBJS:O:u:C/^/.depend./}
.if ${MAKE_VERSION} < 20160220
DEPEND_MP?= -MP
.endif
@@ -222,7 +221,7 @@ ${DEPENDOBJS}: .NOMETA
# Unset these to avoid looping/statting on them later.
.undef DEPENDSRCS
.undef DEPENDOBJS
-.undef DEPENDFILES_OBJS
+.undef DEPENDFILES
.endif # defined(_SKIP_DEPEND)
DEPEND_CFLAGS+= -MD ${DEPEND_MP} -MF.depend.${.TARGET}
DEPEND_CFLAGS+= -MT${.TARGET}
@@ -233,7 +232,7 @@ DEPEND_CFLAGS+= -MT${.TARGET}
DEPEND_CFLAGS_CONDITION= "${DEPENDOBJS:M${.TARGET}}" != ""
CFLAGS+= ${${DEPEND_CFLAGS_CONDITION}:?${DEPEND_CFLAGS}:}
.endif
-.for __depend_obj in ${DEPENDFILES_OBJS}
+.for __depend_obj in ${DEPENDFILES}
.if ${MAKE_VERSION} < 20160220
.sinclude "${.OBJDIR}/${__depend_obj}"
.else
@@ -275,7 +274,7 @@ ${__obj}: ${OBJS_DEPEND_GUESS.${__obj}}
.endif # !exists(${_depfile})
.endfor
-.NOPATH: .depend ${DEPENDFILES_OBJS}
+.NOPATH: .depend ${DEPENDFILES}
.depend: .PRECIOUS ${SRCS}
@@ -306,7 +305,7 @@ ${_ILINKS}:
# .depend needs include links so we remove them only together.
kernel-cleandepend: .PHONY
- rm -f ${DEPENDFILES} ${_ILINKS}
+ rm -f .depend .depend.* ${_ILINKS}
kernel-tags:
@[ -f .depend ] || { echo "you must make depend first"; exit 1; }