When libelf and libdwarf were updated, we didn't bump the minimal

version needed for CTF tools, so sometimes we'd use the host's CTF
tools that didn't work. Be sure to bootstrap in that case.
This commit is contained in:
Warner Losh 2014-05-23 00:20:48 +00:00
parent 47e496fd5d
commit 403ec79669
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=266567

View file

@ -1238,9 +1238,8 @@ _clang_tblgen= \
.endif
# dtrace tools are required for older bootstrap env and cross-build
.if ${MK_CDDL} != "no" && \
((${BOOTSTRAPPING} < 1000034 && \
!(${BOOTSTRAPPING} >= 901505 && ${BOOTSTRAPPING} < 999999)) \
# pre libdwarf
.if ${MK_CDDL} != "no" && (${BOOTSTRAPPING} < 1100006 \
|| (${MACHINE} != ${TARGET} || ${MACHINE_ARCH} != ${TARGET_ARCH}))
_dtrace_tools= cddl/usr.bin/sgsmsg cddl/lib/libctf lib/libelf \
lib/libdwarf cddl/usr.bin/ctfconvert cddl/usr.bin/ctfmerge