From 12330f35fa56d2e1176db4939fa204c7dec4f137 Mon Sep 17 00:00:00 2001 From: Bryan Drewery Date: Thu, 1 Sep 2016 23:21:12 +0000 Subject: [PATCH] DIRDEPS_BUILD: Fix 'make bootstrap-tools' not using the proper tblgen binaries. This was an incomplete item from r291561. The host {clang,llvm}-tblgen binaries were used, rather than the ones built into the host stagedir by normal Makefile.depend dependencies on tblgen. MFC after: 1 week Sponsored by: EMC / Isilon Storage Division --- targets/pseudo/bootstrap-tools/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/targets/pseudo/bootstrap-tools/Makefile b/targets/pseudo/bootstrap-tools/Makefile index 98064ff06b54..2259861ce24e 100644 --- a/targets/pseudo/bootstrap-tools/Makefile +++ b/targets/pseudo/bootstrap-tools/Makefile @@ -78,6 +78,8 @@ BSTCENV= \ BSTCARGS= \ ${BSARGS:NDESTDIR=*:NOBJTOP=*:NOBJROOT=*:NMK_CROSS_COMPILER=*:NMK_CLANG=*:NMK_GCC=*} \ BUILD_DIRDEPS=yes \ + LLVM_TBLGEN=${TOOLSDIR}/usr/bin/llvm-tblgen \ + CLANG_TBLGEN=${TOOLSDIR}/usr/bin/clang-tblgen \ -DWITH_STAGING \ -DWITH_TOOLSDIR