freebsd-nq/lib/clang
Bryan Drewery 3bed45ab81 META MODE: Rework [bootstrapped] tools PATH support.
- Support more of the toolchain from TOOLSDIR.
- This also improves 'make bootstrap-tools' to pass, for example,
  AS=/usr/bin/as to Makefile.inc1, which will tell cross-tools to use
  external toolchain support and avoid building things we won't be using
  in the build.
- Always set the PATH to contain the staged TOOLSDIR directories when
  not building the bootstrap targets.

  The previous version was only setting this at MAKE.LEVEL==0 and if the
  TOOLSDIR existed.  Both of these prevented using staged tools that were
  built during the build though as DIRDEPS with .host dependencies, such
  as the fix for needing usr.bin/localedef.host in r291311.
  This is not a common tool so we must build and use it during the build,
  and need to be prepared to change PATH as soon as it appears.

  This should also fix the issue of host dependencies disappearing from
  Makefile.depend and then reappearing due to the start of the fresh build not
  having the directory yet, resulting in the tools that were built not actually
  being used.
- Only use LEGACY_TOOLS while building in Makefile.inc1.  After r291317
  and r291546 there is no need to add LEGACY_TOOLS into the PATH for
  the pseudo/targets/toolchain build.
- Because the pseudo/targets/toolchain will now build its own
  [clang-]tblgen, the special logic in clang.build.mk is no longer needed.
- LEGACY_TOOLS is no longer used outside of targets/pseudo/bootstrap-tools
  so is no longer passed into the environment in its build.

Sponsored by:	EMC / Isilon Storage Division
2015-12-01 05:19:02 +00:00
..
include META MODE: Fix rebuilding of lib/clang/include after clang-tblgen.host is 2015-12-01 05:18:59 +00:00
libclanganalysis Minimize the number of files compiled for clang only (e.g. when neither 2015-09-06 22:02:13 +00:00
libclangarcmigrate Add META_MODE support. 2015-06-13 19:20:56 +00:00
libclangast Add META_MODE support. 2015-06-13 19:20:56 +00:00
libclangbasic Use -fpermissive if compiling with GCC. 2015-10-08 00:48:29 +00:00
libclangcodegen Update llvm/clang to r242221. 2015-08-12 18:31:11 +00:00
libclangdriver Update llvm/clang to r241361. 2015-07-05 22:34:42 +00:00
libclangedit Add META_MODE support. 2015-06-13 19:20:56 +00:00
libclangfrontend Update llvm/clang build glue. 2015-06-23 18:46:29 +00:00
libclangfrontendtool Add META_MODE support. 2015-06-13 19:20:56 +00:00
libclanglex Add META_MODE support. 2015-06-13 19:20:56 +00:00
libclangparse Add META_MODE support. 2015-06-13 19:20:56 +00:00
libclangrewrite Add META_MODE support. 2015-06-13 19:20:56 +00:00
libclangrewritefrontend Add META_MODE support. 2015-06-13 19:20:56 +00:00
libclangsema Add META_MODE support. 2015-06-13 19:20:56 +00:00
libclangserialization Add META_MODE support. 2015-06-13 19:20:56 +00:00
libclangstaticanalyzercheckers Minimize the number of files compiled for clang only (e.g. when neither 2015-09-06 22:02:13 +00:00
libclangstaticanalyzercore Update llvm/clang to r242221. 2015-08-12 18:31:11 +00:00
libclangstaticanalyzerfrontend Add META_MODE support. 2015-06-13 19:20:56 +00:00
liblldb Update LLDB snapshot to upstream r241361 2015-07-04 01:02:43 +00:00
liblldbAPI Update LLDB snapshot to upstream r241361 2015-07-04 01:02:43 +00:00
liblldbBreakpoint new depends 2015-06-16 23:37:19 +00:00
liblldbCommands Update LLDB snapshot to upstream r241361 2015-07-04 01:02:43 +00:00
liblldbCore Update LLDB snapshot to upstream r241361 2015-07-04 01:02:43 +00:00
liblldbDataFormatters Update LLDB snapshot to upstream r241361 2015-07-04 01:02:43 +00:00
liblldbExpression new depends 2015-06-16 23:37:19 +00:00
liblldbHostCommon Update LLDB snapshot to upstream r241361 2015-07-04 01:02:43 +00:00
liblldbHostFreeBSD new depends 2015-06-16 23:37:19 +00:00
liblldbHostPOSIX Update LLDB snapshot to upstream r241361 2015-07-04 01:02:43 +00:00
liblldbInitialization Update LLDB snapshot to upstream r241361 2015-07-04 01:02:43 +00:00
liblldbInterpreter Update LLDB snapshot to upstream r241361 2015-07-04 01:02:43 +00:00
liblldbPluginABISysV_arm Update LLDB snapshot to upstream r241361 2015-07-04 01:02:43 +00:00
liblldbPluginABISysV_arm64 Update LLDB snapshot to upstream r241361 2015-07-04 01:02:43 +00:00
liblldbPluginABISysV_i386 Update LLDB snapshot to upstream r241361 2015-07-04 01:02:43 +00:00
liblldbPluginABISysV_mips Update LLDB snapshot to upstream r241361 2015-07-04 01:02:43 +00:00
liblldbPluginABISysV_mips64 Update LLDB snapshot to upstream r241361 2015-07-04 01:02:43 +00:00
liblldbPluginABISysV_ppc new depends 2015-06-16 23:37:19 +00:00
liblldbPluginABISysV_ppc64 new depends 2015-06-16 23:37:19 +00:00
liblldbPluginABISysV_x86_64 new depends 2015-06-16 23:37:19 +00:00
liblldbPluginCXXItaniumABI new depends 2015-06-16 23:37:19 +00:00
liblldbPluginDisassemblerLLVM new depends 2015-06-16 23:37:19 +00:00
liblldbPluginDynamicLoaderPosixDYLD new depends 2015-06-16 23:37:19 +00:00
liblldbPluginDynamicLoaderStatic new depends 2015-06-16 23:37:19 +00:00
liblldbPluginInstructionARM new depends 2015-06-16 23:37:19 +00:00
liblldbPluginInstructionARM64 new depends 2015-06-16 23:37:19 +00:00
liblldbPluginInstructionMIPS Update LLDB snapshot to upstream r241361 2015-07-04 01:02:43 +00:00
liblldbPluginInstructionMIPS64 Update LLDB snapshot to upstream r241361 2015-07-04 01:02:43 +00:00
liblldbPluginInstrumentationRuntimeAddressSanitizer new depends 2015-06-16 23:37:19 +00:00
liblldbPluginJITLoaderGDB new depends 2015-06-16 23:37:19 +00:00
liblldbPluginMemoryHistoryASan new depends 2015-06-16 23:37:19 +00:00
liblldbPluginObjectContainerBSDArchive new depends 2015-06-16 23:37:19 +00:00
liblldbPluginObjectFileELF new depends 2015-06-16 23:37:19 +00:00
liblldbPluginObjectFileJIT new depends 2015-06-16 23:37:19 +00:00
liblldbPluginPlatformFreeBSD new depends 2015-06-16 23:37:19 +00:00
liblldbPluginPlatformGDB new depends 2015-06-16 23:37:19 +00:00
liblldbPluginProcessElfCore Update LLDB snapshot to upstream r241361 2015-07-04 01:02:43 +00:00
liblldbPluginProcessFreeBSD Update LLDB snapshot to upstream r241361 2015-07-04 01:02:43 +00:00
liblldbPluginProcessGDBRemote Update LLDB snapshot to upstream r241361 2015-07-04 01:02:43 +00:00
liblldbPluginProcessPOSIX Update LLDB snapshot to upstream r241361 2015-07-04 01:02:43 +00:00
liblldbPluginProcessUtility Update lldb to upstream trunk r242221. 2015-09-06 15:21:47 +00:00
liblldbPluginSymbolFileDWARF new depends 2015-06-16 23:37:19 +00:00
liblldbPluginSymbolFileSymtab new depends 2015-06-16 23:37:19 +00:00
liblldbPluginSymbolVendorELF new depends 2015-06-16 23:37:19 +00:00
liblldbPluginUnwindAssemblyInstEmulation new depends 2015-06-16 23:37:19 +00:00
liblldbPluginUnwindAssemblyX86 new depends 2015-06-16 23:37:19 +00:00
liblldbSymbol new depends 2015-06-16 23:37:19 +00:00
liblldbTarget Update lldb to upstream trunk r242221. 2015-09-06 15:21:47 +00:00
liblldbUtility Update LLDB snapshot to upstream r241361 2015-07-04 01:02:43 +00:00
libllvmaarch64asmparser Add META_MODE support. 2015-06-13 19:20:56 +00:00
libllvmaarch64codegen Add META_MODE support. 2015-06-13 19:20:56 +00:00
libllvmaarch64desc Add META_MODE support. 2015-06-13 19:20:56 +00:00
libllvmaarch64disassembler Add META_MODE support. 2015-06-13 19:20:56 +00:00
libllvmaarch64info Add META_MODE support. 2015-06-13 19:20:56 +00:00
libllvmaarch64instprinter Add META_MODE support. 2015-06-13 19:20:56 +00:00
libllvmaarch64utils Add META_MODE support. 2015-06-13 19:20:56 +00:00
libllvmanalysis Minimize the number of files compiled for clang only (e.g. when neither 2015-09-06 22:02:13 +00:00
libllvmarmasmparser Add META_MODE support. 2015-06-13 19:20:56 +00:00
libllvmarmcodegen Merge ^/head r284188 through r284643. 2015-06-20 19:34:50 +00:00
libllvmarmdesc Add META_MODE support. 2015-06-13 19:20:56 +00:00
libllvmarmdisassembler Add META_MODE support. 2015-06-13 19:20:56 +00:00
libllvmarminfo Add META_MODE support. 2015-06-13 19:20:56 +00:00
libllvmarminstprinter Add META_MODE support. 2015-06-13 19:20:56 +00:00
libllvmasmparser Add META_MODE support. 2015-06-13 19:20:56 +00:00
libllvmasmprinter Update llvm/clang to r241361. 2015-07-05 22:34:42 +00:00
libllvmbitreader Add META_MODE support. 2015-06-13 19:20:56 +00:00
libllvmbitwriter Minimize the number of files compiled for clang only (e.g. when neither 2015-09-06 22:02:13 +00:00
libllvmcodegen Minimize the number of files compiled for clang only (e.g. when neither 2015-09-06 22:02:13 +00:00
libllvmcore Minimize the number of files compiled for clang only (e.g. when neither 2015-09-06 22:02:13 +00:00
libllvmdebuginfodwarf Update Makefiles and other build glue for llvm/clang 3.7.0, as of trunk 2015-05-30 15:39:49 +00:00
libllvmdebuginfopdb Update Makefiles and other build glue for llvm/clang 3.7.0, as of trunk 2015-05-30 15:39:49 +00:00
libllvmexecutionengine Merge ^/head r284188 through r284643. 2015-06-20 19:34:50 +00:00
libllvminstcombine Add META_MODE support. 2015-06-13 19:20:56 +00:00
libllvminstrumentation Minimize the number of files compiled for clang only (e.g. when neither 2015-09-06 22:02:13 +00:00
libllvminterpreter META_MODE: Remove DEP_RELDIR from Makefile.depend files. 2015-09-25 19:26:08 +00:00
libllvmipa Add META_MODE support. 2015-06-13 19:20:56 +00:00
libllvmipo Update llvm/clang to r242221. 2015-08-12 18:31:11 +00:00
libllvmirreader Add META_MODE support. 2015-06-13 19:20:56 +00:00
libllvmlibdriver Update llvm/clang build glue. 2015-06-23 18:46:29 +00:00
libllvmlinker Add META_MODE support. 2015-06-13 19:20:56 +00:00
libllvmlto Update Makefiles and other build glue for llvm/clang 3.7.0, as of trunk 2015-05-30 15:39:49 +00:00
libllvmmc Minimize the number of files compiled for clang only (e.g. when neither 2015-09-06 22:02:13 +00:00
libllvmmcdisassembler Minimize the number of files compiled for clang only (e.g. when neither 2015-09-06 22:02:13 +00:00
libllvmmcjit Merge ^/head r284188 through r284643. 2015-06-20 19:34:50 +00:00
libllvmmcparser Add META_MODE support. 2015-06-13 19:20:56 +00:00
libllvmmipsasmparser Add META_MODE support. 2015-06-13 19:20:56 +00:00
libllvmmipscodegen Update llvm/clang to r242221. 2015-08-12 18:31:11 +00:00
libllvmmipsdesc Add META_MODE support. 2015-06-13 19:20:56 +00:00
libllvmmipsdisassembler Add META_MODE support. 2015-06-13 19:20:56 +00:00
libllvmmipsinfo Add META_MODE support. 2015-06-13 19:20:56 +00:00
libllvmmipsinstprinter Add META_MODE support. 2015-06-13 19:20:56 +00:00
libllvmmirparser Minimize the number of files compiled for clang only (e.g. when neither 2015-09-06 22:02:13 +00:00
libllvmobjcarcopts Merge ^/head r284188 through r284643. 2015-06-20 19:34:50 +00:00
libllvmobject Minimize the number of files compiled for clang only (e.g. when neither 2015-09-06 22:02:13 +00:00
libllvmoption Add META_MODE support. 2015-06-13 19:20:56 +00:00
libllvmorcjit Update Makefiles and other build glue for llvm/clang 3.7.0, as of trunk 2015-05-30 15:39:49 +00:00
libllvmpasses Update Makefiles and other build glue for llvm/clang 3.7.0, as of trunk 2015-05-30 15:39:49 +00:00
libllvmpowerpcasmparser Add META_MODE support. 2015-06-13 19:20:56 +00:00
libllvmpowerpccodegen Update llvm/clang to r242221. 2015-08-12 18:31:11 +00:00
libllvmpowerpcdesc Add META_MODE support. 2015-06-13 19:20:56 +00:00
libllvmpowerpcdisassembler Add META_MODE support. 2015-06-13 19:20:56 +00:00
libllvmpowerpcinfo Add META_MODE support. 2015-06-13 19:20:56 +00:00
libllvmpowerpcinstprinter Add META_MODE support. 2015-06-13 19:20:56 +00:00
libllvmprofiledata Minimize the number of files compiled for clang only (e.g. when neither 2015-09-06 22:02:13 +00:00
libllvmruntimedyld Merge ^/head r284188 through r284643. 2015-06-20 19:34:50 +00:00
libllvmscalaropts Merge ^/head r284188 through r284643. 2015-06-20 19:34:50 +00:00
libllvmselectiondag Add META_MODE support. 2015-06-13 19:20:56 +00:00
libllvmsparcasmparser Add META_MODE support. 2015-06-13 19:20:56 +00:00
libllvmsparccodegen Update llvm/clang to r242221. 2015-08-12 18:31:11 +00:00
libllvmsparcdesc Add META_MODE support. 2015-06-13 19:20:56 +00:00
libllvmsparcdisassembler Add META_MODE support. 2015-06-13 19:20:56 +00:00
libllvmsparcinfo Add META_MODE support. 2015-06-13 19:20:56 +00:00
libllvmsparcinstprinter Add META_MODE support. 2015-06-13 19:20:56 +00:00
libllvmsupport Minimize the number of files compiled for clang only (e.g. when neither 2015-09-06 22:02:13 +00:00
libllvmtablegen Merge ^/head r284188 through r284643. 2015-06-20 19:34:50 +00:00
libllvmtarget Minimize the number of files compiled for clang only (e.g. when neither 2015-09-06 22:02:13 +00:00
libllvmtransformutils Update llvm/clang to r242221. 2015-08-12 18:31:11 +00:00
libllvmvectorize Minimize the number of files compiled for clang only (e.g. when neither 2015-09-06 22:02:13 +00:00
libllvmx86asmparser Add META_MODE support. 2015-06-13 19:20:56 +00:00
libllvmx86codegen Merge ^/head r284188 through r284643. 2015-06-20 19:34:50 +00:00
libllvmx86desc Add META_MODE support. 2015-06-13 19:20:56 +00:00
libllvmx86disassembler Add META_MODE support. 2015-06-13 19:20:56 +00:00
libllvmx86info Add META_MODE support. 2015-06-13 19:20:56 +00:00
libllvmx86instprinter Add META_MODE support. 2015-06-13 19:20:56 +00:00
libllvmx86utils Add META_MODE support. 2015-06-13 19:20:56 +00:00
clang.build.mk META MODE: Rework [bootstrapped] tools PATH support. 2015-12-01 05:19:02 +00:00
clang.lib.mk Sprinkle a bit of style.Makefile(5) across various clang Makefiles. No 2012-08-23 17:08:07 +00:00
lldb.lib.mk Add LLDB bmake infrastructure 2013-09-20 01:52:02 +00:00
Makefile libllvmmirparser and libllvmlibdriver are only used in usr.bin/clang/llc and 2015-11-30 19:16:58 +00:00