- Add a LOCAL_ITOOLS to allow adding additional tools required for the

installworld and distributeworld targets

PR:		179562
Submitted by:	Garrett Cooper <yaneurabeya@gmail.com>
MFC after:	1 week
This commit is contained in:
Bryan Drewery 2014-06-17 22:23:36 +00:00
parent 2ff25a8b1c
commit a0e6a0131a
2 changed files with 10 additions and 2 deletions

View File

@ -17,6 +17,7 @@
# -DNO_DOCUPDATE do not update doc in ${MAKE} update # -DNO_DOCUPDATE do not update doc in ${MAKE} update
# -DWITHOUT_CTF do not run the DTrace CTF conversion tools on built objects # -DWITHOUT_CTF do not run the DTrace CTF conversion tools on built objects
# LOCAL_DIRS="list of dirs" to add additional dirs to the SUBDIR list # LOCAL_DIRS="list of dirs" to add additional dirs to the SUBDIR list
# LOCAL_ITOOLS="list of tools" to add additional tools to the ITOOLS list
# LOCAL_LIB_DIRS="list of dirs" to add additional dirs to libraries target # LOCAL_LIB_DIRS="list of dirs" to add additional dirs to libraries target
# LOCAL_MTREE="list of mtree files" to process to allow local directories # LOCAL_MTREE="list of mtree files" to process to allow local directories
# to be created before files are installed # to be created before files are installed
@ -756,7 +757,8 @@ _zoneinfo= zic tzsetup
ITOOLS= [ awk cap_mkdb cat chflags chmod chown \ ITOOLS= [ awk cap_mkdb cat chflags chmod chown \
date echo egrep find grep id install ${_install-info} \ date echo egrep find grep id install ${_install-info} \
ln lockf make mkdir mtree mv pwd_mkdb \ ln lockf make mkdir mtree mv pwd_mkdb \
rm sed services_mkdb sh sysctl test true uname wc ${_zoneinfo} rm sed services_mkdb sh sysctl test true uname wc ${_zoneinfo} \
${LOCAL_ITOOLS}
# #
# distributeworld # distributeworld

View File

@ -24,7 +24,7 @@
.\" .\"
.\" $FreeBSD$ .\" $FreeBSD$
.\" .\"
.Dd March 27, 2014 .Dd June 17, 2014
.Dt BUILD 7 .Dt BUILD 7
.Os .Os
.Sh NAME .Sh NAME
@ -415,6 +415,12 @@ 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 everything .Cm everything
target. target.
.It Va LOCAL_ITOOLS
If set, this variable supplies a list of additional tools that are used by the
.Cm installworld
and
.Cm distributeworld
targets.
.It Va LOCAL_LIB_DIRS .It Va LOCAL_LIB_DIRS
If set, this variable supplies a list of additional directories relative to 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