svn commit: r305237 - projects/clang390-import/share/mk

Bryan Drewery bdrewery at FreeBSD.org
Thu Sep 1 20:23:51 UTC 2016


Author: bdrewery
Date: Thu Sep  1 20:23:49 2016
New Revision: 305237
URL: https://svnweb.freebsd.org/changeset/base/305237

Log:
  DIRDEPS_BUILD: Clang libraries now have nested directories/objects in OBJDIR.
  
  These nested directories are not build targets.  They just map back to
  lib/clang/lib{clang,llvm,llvmminimal,lldb}.  Avoid adding these nested
  directories into Makefile.depend.
  
  Sponsored by:	EMC / Isilon Storage Division

Modified:
  projects/clang390-import/share/mk/local.gendirdeps.mk

Modified: projects/clang390-import/share/mk/local.gendirdeps.mk
==============================================================================
--- projects/clang390-import/share/mk/local.gendirdeps.mk	Thu Sep  1 20:01:38 2016	(r305236)
+++ projects/clang390-import/share/mk/local.gendirdeps.mk	Thu Sep  1 20:23:49 2016	(r305237)
@@ -13,6 +13,9 @@ GENDIRDEPS_FILTER+= \
 	Ntargets/pseudo/stage* \
 	Ntools/*
 
+# Clang has nested directories in its OBJDIR.
+GENDIRDEPS_FILTER+= C,(lib/clang/lib[^/]*)/.*,\1,
+
 # Exclude toolchain which is handled special.
 .if ${RELDIR:Mtargets*} == ""
 .if ${RELDIR:Nusr.bin/clang/*:Ngnu/usr.bin/cc/*:Nlib/clang*} != ""


More information about the svn-src-projects mailing list