aboutsummaryrefslogtreecommitdiff
path: root/sys/conf
diff options
context:
space:
mode:
authorBryan Drewery <bdrewery@FreeBSD.org>2019-05-10 18:09:27 +0000
committerBryan Drewery <bdrewery@FreeBSD.org>2019-05-10 18:09:27 +0000
commit29317e6a0ebfdc8e28cbb809946ee8cab6aaf12b (patch)
tree743852cfc8df43b71333e270589069a3eaafc774 /sys/conf
parent8edae83905d0a4eb1472d7b9def7d07195ced5a6 (diff)
downloadsrc-29317e6a0ebfdc8e28cbb809946ee8cab6aaf12b.tar.gz
src-29317e6a0ebfdc8e28cbb809946ee8cab6aaf12b.zip
Fix build race with machine links and genoffset.o.
Generate the ilinks for all dependency objects not just the ones in the CLEAN list. Possibly related to r345351 Reported by: kmoore MFC after: 2 weeks X-MFC-with: r345351 Sponsored by: Dell EMC Isilon
Notes
Notes: svn path=/head/; revision=347458
Diffstat (limited to 'sys/conf')
-rw-r--r--sys/conf/kern.post.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/conf/kern.post.mk b/sys/conf/kern.post.mk
index c25abdd3a7d2..010aef20919b 100644
--- a/sys/conf/kern.post.mk
+++ b/sys/conf/kern.post.mk
@@ -357,7 +357,7 @@ _ILINKS+= x86
# Ensure that debug info references the path in the source tree.
.for _link in ${_ILINKS}
.if !exists(${.OBJDIR}/${_link})
-${SRCS} ${CLEAN:M*.o}: ${_link}
+${SRCS} ${DEPENDOBJS}: ${_link}
.endif
.if defined(_MAP_DEBUG_PREFIX)
.if ${_link} == "machine"