From 8888e2c8bd4bd2c80f992674dfa54ca2fe3c28aa Mon Sep 17 00:00:00 2001 From: sjg Date: Fri, 16 May 2014 17:57:14 +0000 Subject: [PATCH] Ensure clang-tblgen in TOOLSDIR --- lib/clang/clang.build.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/clang/clang.build.mk b/lib/clang/clang.build.mk index f60ec6217545..c9d17982f690 100644 --- a/lib/clang/clang.build.mk +++ b/lib/clang/clang.build.mk @@ -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