Ensure clang-tblgen in TOOLSDIR

This commit is contained in:
Simon J. Gerraty 2014-05-16 17:57:14 +00:00
parent f7df4ea864
commit dc8c6c5c08
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/projects/bmake/; revision=266266

View File

@ -49,7 +49,7 @@ TOOLSDIR= ${LEGACY_TOOLS}
TOOLSDIR?= ${STAGE_HOST_OBJTOP}
.endif
TOOLSDIR?=
.if !empty(TOOLSDIR)
.if !empty(TOOLSDIR) && exists(${TOOLSDIR}/usr/bin/clang-tblgen)
TBLGEN= ${TOOLSDIR}/usr/bin/tblgen
CLANG_TBLGEN= ${TOOLSDIR}/usr/bin/clang-tblgen
.endif