1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-12 14:29:28 +00:00

Build CTF tools as a part of toolchain for cross-compilation case

This commit is contained in:
Oleksandr Tymoshenko 2012-03-24 05:30:13 +00:00
parent 457c7edfbd
commit 634f9253e8
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=233416

View File

@ -1047,9 +1047,11 @@ _clang_tblgen= \
usr.bin/clang/clang-tblgen
.endif
# dtrace tools are required for older bootstrap env and cross-build
.if ${MK_CDDL} != "no" && \
${BOOTSTRAPPING} < 800038 && \
!(${BOOTSTRAPPING} >= 700112 && ${BOOTSTRAPPING} < 799999)
((${BOOTSTRAPPING} < 800038 && \
!(${BOOTSTRAPPING} >= 700112 && ${BOOTSTRAPPING} < 799999)) \
|| (${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
.endif