aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.inc1
diff options
context:
space:
mode:
authorBryan Drewery <bdrewery@FreeBSD.org>2020-11-20 20:11:59 +0000
committerBryan Drewery <bdrewery@FreeBSD.org>2020-11-20 20:11:59 +0000
commit80cedb809fb8b08976787108c09a9d51fdb0a95e (patch)
treebed630745ca77fbab2ddcc21a96ff8ddc57fdc1b /Makefile.inc1
parentb8e2395ec5785741caa9f79956b890358cdfb61e (diff)
downloadsrc-80cedb809fb8b08976787108c09a9d51fdb0a95e.tar.gz
src-80cedb809fb8b08976787108c09a9d51fdb0a95e.zip
Add lists for customizing legacy and bootstrap-tools.
Reviewed by: arichardson Sponsored by: Dell EMC Differential Revision: https://reviews.freebsd.org/D27200
Notes
Notes: svn path=/head/; revision=367910
Diffstat (limited to 'Makefile.inc1')
-rw-r--r--Makefile.inc113
1 files changed, 10 insertions, 3 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1
index 74ad5d3808e0..175caeaef0bc 100644
--- a/Makefile.inc1
+++ b/Makefile.inc1
@@ -20,8 +20,12 @@
# 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
+# LOCAL_LEGACY_DIRS="list of dirs" to add additional dirs to the legacy
+# target
+# LOCAL_BSTOOL_DIRS="list of dirs" to add additional dirs to the
+# bootstrap-tools target
# LOCAL_TOOL_DIRS="list of dirs" to add additional dirs to the build-tools
-# list
+# target
# 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
@@ -2127,7 +2131,9 @@ legacy: .PHONY
false
.endif
-.for _tool in tools/build
+.for _tool in \
+ tools/build \
+ ${LOCAL_LEGACY_DIRS}
${_+_}@${ECHODIR} "===> ${_tool} (obj,includes,all,install)"; \
cd ${.CURDIR}/${_tool}; \
if [ -z "${NO_OBJWALK}" ]; then ${MAKE} DIRPRFX=${_tool}/ obj; fi; \
@@ -2458,7 +2464,8 @@ bootstrap-tools: ${_bt}-links .PHONY
${_crunchgen} \
${_nmtree} \
${_vtfontcvt} \
- ${_localedef}
+ ${_localedef} \
+ ${LOCAL_BSTOOL_DIRS}
${_bt}-${_tool}: ${_bt}-links .PHONY .MAKE
${_+_}@${ECHODIR} "===> ${_tool} (obj,all,install)"; \
cd ${.CURDIR}/${_tool}; \