Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 May 2016 17:40:51 +0000 (UTC)
From:      Bryan Drewery <bdrewery@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r299472 - head/share/mk
Message-ID:  <201605111740.u4BHeppu049180@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bdrewery
Date: Wed May 11 17:40:51 2016
New Revision: 299472
URL: https://svnweb.freebsd.org/changeset/base/299472

Log:
  DIRDEPS_BUILD: Exclude host tools for Makefile.depend.host as well.
  
  Sponsored by:	EMC / Isilon Storage Division

Modified:
  head/share/mk/local.gendirdeps.mk

Modified: head/share/mk/local.gendirdeps.mk
==============================================================================
--- head/share/mk/local.gendirdeps.mk	Wed May 11 17:38:09 2016	(r299471)
+++ head/share/mk/local.gendirdeps.mk	Wed May 11 17:40:51 2016	(r299472)
@@ -21,21 +21,26 @@ GENDIRDEPS_FILTER.host+= \
 	Ngnu/usr.bin/cc/* \
 
 .endif
-GENDIRDEPS_FILTER+= \
-	Nlib/clang/include.host \
-	Nusr.bin/addr2line.host \
-	Nusr.bin/ar.host \
-	Nusr.bin/clang/clang.host \
-	Nusr.bin/elfcopy.host \
-	Nusr.bin/elfdump.host \
-	Nusr.bin/nm.host \
-	Nusr.bin/readelf.host \
-	Nusr.bin/size.host \
-	Nusr.bin/strings.host \
-	Nusr.bin/strip.host \
+GENDIRDEPS_FILTER_HOST_TOOLS+= \
+	Nlib/clang/include \
+	Nusr.bin/addr2line \
+	Nusr.bin/ar \
+	Nusr.bin/clang/clang \
+	Nusr.bin/elfcopy \
+	Nusr.bin/elfdump \
+	Nusr.bin/nm \
+	Nusr.bin/readelf \
+	Nusr.bin/size \
+	Nusr.bin/strings \
+	Nusr.bin/strip \
 	Ngnu/usr.bin/cc* \
-	Ngnu/usr.bin/binutils*.host \
+	Ngnu/usr.bin/binutils* \
 
+.if ${MACHINE} != "host"
+GENDIRDEPS_FILTER+=	${GENDIRDEPS_FILTER_HOST_TOOLS:C,$,.host,}
+.else
+GENDIRDEPS_FILTER+=	${GENDIRDEPS_FILTER_HOST_TOOLS}
+.endif
 .endif
 
 GENDIRDEPS_FILTER+= ${GENDIRDEPS_FILTER.${MACHINE}:U}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201605111740.u4BHeppu049180>