diff options
author | bdrewery <bdrewery@FreeBSD.org> | 2014-06-24 15:57:48 +0000 |
---|---|---|
committer | bdrewery <bdrewery@FreeBSD.org> | 2014-06-24 15:57:48 +0000 |
commit | f6034d31b79e498fd2e967700422934b875aa603 (patch) | |
tree | 7da1eaffb8a5d67fb3c00a984a6474c3aba4a0fd | |
parent | 3b207676966493f5897b60f1575ca81297373eb4 (diff) | |
download | FreeBSD-src-f6034d31b79e498fd2e967700422934b875aa603.zip FreeBSD-src-f6034d31b79e498fd2e967700422934b875aa603.tar.gz |
MFC r267599:
- Add a LOCAL_ITOOLS to allow adding additional tools required for the
installworld and distributeworld targets
PR: 179562
-rw-r--r-- | Makefile.inc1 | 4 | ||||
-rw-r--r-- | share/man/man7/build.7 | 8 |
2 files changed, 10 insertions, 2 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1 index 5cfa779..8c23f82 100644 --- a/Makefile.inc1 +++ b/Makefile.inc1 @@ -17,6 +17,7 @@ # -DNO_DOCUPDATE do not update doc in ${MAKE} update # -DNO_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_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_MTREE="list of mtree files" to process to allow local directories # to be created before files are installed @@ -756,7 +757,8 @@ _nmtree_itools= nmtree ITOOLS= [ awk cap_mkdb cat chflags chmod chown \ date echo egrep find grep id install ${_install-info} \ ln lockf make mkdir mtree ${_nmtree_itools} mv pwd_mkdb \ - rm sed sh sysctl test true uname wc ${_zoneinfo} + rm sed sh sysctl test true uname wc ${_zoneinfo} \ + ${LOCAL_ITOOLS} # # distributeworld diff --git a/share/man/man7/build.7 b/share/man/man7/build.7 index 76a2fa6..0c481db 100644 --- a/share/man/man7/build.7 +++ b/share/man/man7/build.7 @@ -24,7 +24,7 @@ .\" .\" $FreeBSD$ .\" -.Dd March 27, 2014 +.Dd June 17, 2014 .Dt BUILD 7 .Os .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 .Cm everything 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 If set, this variable supplies a list of additional directories relative to the root of the source tree to build as part of the |