svn commit: r303130 - in head: . share/man/man7

Bryan Drewery bdrewery at FreeBSD.org
Thu Jul 21 06:06:12 UTC 2016


Author: bdrewery
Date: Thu Jul 21 06:06:11 2016
New Revision: 303130
URL: https://svnweb.freebsd.org/changeset/base/303130

Log:
  Add LOCAL_XTOOL_DIRS to add into cross-tools.
  
  Sponsored by:	EMC / Isilon Storage Division

Modified:
  head/Makefile.inc1
  head/share/man/man7/build.7

Modified: head/Makefile.inc1
==============================================================================
--- head/Makefile.inc1	Thu Jul 21 05:46:26 2016	(r303129)
+++ head/Makefile.inc1	Thu Jul 21 06:06:11 2016	(r303130)
@@ -22,6 +22,8 @@
 #	    to be created before files are installed
 #	LOCAL_TOOL_DIRS="list of dirs" to add additional dirs to the build-tools
 #	    list
+#	LOCAL_XTOOL_DIRS="list of dirs" to add additional dirs to the
+#	    cross-tools target
 #	METALOG="path to metadata log" to write permission and ownership
 #	    when NO_ROOT is set.  (default: ${DESTDIR}/METALOG)
 #	TARGET="machine" to crossbuild world for a different machine type
@@ -1815,6 +1817,7 @@ _usb_tools=	sys/boot/usb/tools
 
 cross-tools: .MAKE .PHONY
 .for _tool in \
+    ${LOCAL_XTOOL_DIRS} \
     ${_clang_libs} \
     ${_clang} \
     ${_binutils} \

Modified: head/share/man/man7/build.7
==============================================================================
--- head/share/man/man7/build.7	Thu Jul 21 05:46:26 2016	(r303129)
+++ head/share/man/man7/build.7	Thu Jul 21 06:06:11 2016	(r303130)
@@ -24,7 +24,7 @@
 .\"
 .\" $FreeBSD$
 .\"
-.Dd April 28, 2016
+.Dd July 20, 2016
 .Dt BUILD 7
 .Os
 .Sh NAME
@@ -462,6 +462,11 @@ If set, this variable supplies a list of
 the root of the source tree to build as part of the
 .Cm build-tools
 target.
+.It Va LOCAL_XTOOL_DIRS
+If set, this variable supplies a list of additional directories relative to
+the root of the source tree to build as part of the
+.Cm cross-tools
+target.
 .It Va PORTS_MODULES
 A list of ports with kernel modules that should be built and installed
 as part of the


More information about the svn-src-head mailing list