Add LOCAL_XTOOL_DIRS to add into cross-tools.

Sponsored by:	EMC / Isilon Storage Division
This commit is contained in:
Bryan Drewery 2016-07-21 06:06:11 +00:00
parent f62b3ae3be
commit 4143850b00
2 changed files with 9 additions and 1 deletions

View File

@ -22,6 +22,8 @@
# to be created before files are installed # to be created before files are installed
# LOCAL_TOOL_DIRS="list of dirs" to add additional dirs to the build-tools # LOCAL_TOOL_DIRS="list of dirs" to add additional dirs to the build-tools
# list # 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 # METALOG="path to metadata log" to write permission and ownership
# when NO_ROOT is set. (default: ${DESTDIR}/METALOG) # when NO_ROOT is set. (default: ${DESTDIR}/METALOG)
# TARGET="machine" to crossbuild world for a different machine type # TARGET="machine" to crossbuild world for a different machine type
@ -1815,6 +1817,7 @@ _usb_tools= sys/boot/usb/tools
cross-tools: .MAKE .PHONY cross-tools: .MAKE .PHONY
.for _tool in \ .for _tool in \
${LOCAL_XTOOL_DIRS} \
${_clang_libs} \ ${_clang_libs} \
${_clang} \ ${_clang} \
${_binutils} \ ${_binutils} \

View File

@ -24,7 +24,7 @@
.\" .\"
.\" $FreeBSD$ .\" $FreeBSD$
.\" .\"
.Dd April 28, 2016 .Dd July 20, 2016
.Dt BUILD 7 .Dt BUILD 7
.Os .Os
.Sh NAME .Sh NAME
@ -462,6 +462,11 @@ If set, this variable supplies a list of additional directories relative to
the root of the source tree to build as part of the the root of the source tree to build as part of the
.Cm build-tools .Cm build-tools
target. 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 .It Va PORTS_MODULES
A list of ports with kernel modules that should be built and installed A list of ports with kernel modules that should be built and installed
as part of the as part of the