Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F142728095
D27200.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
2 KB
Referenced Files
None
Subscribers
None
D27200.diff
View Options
Index: head/Makefile.inc1
===================================================================
--- head/Makefile.inc1
+++ head/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 @@
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 @@
${_crunchgen} \
${_nmtree} \
${_vtfontcvt} \
- ${_localedef}
+ ${_localedef} \
+ ${LOCAL_BSTOOL_DIRS}
${_bt}-${_tool}: ${_bt}-links .PHONY .MAKE
${_+_}@${ECHODIR} "===> ${_tool} (obj,all,install)"; \
cd ${.CURDIR}/${_tool}; \
Index: head/share/man/man7/build.7
===================================================================
--- head/share/man/man7/build.7
+++ head/share/man/man7/build.7
@@ -24,7 +24,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd November 3, 2020
+.Dd November 12, 2020
.Dt BUILD 7
.Os
.Sh NAME
@@ -571,6 +571,16 @@
If set, this variable supplies a list of additional mtrees relative to the
root of the source tree to use as part of the
.Cm hierarchy
+target.
+.It Va LOCAL_LEGACY_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 legacy
+target.
+.It Va LOCAL_BSTOOL_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 bootstrap-tools
target.
.It Va LOCAL_TOOL_DIRS
If set, this variable supplies a list of additional directories relative to
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Jan 23, 6:47 PM (8 h, 35 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
27888612
Default Alt Text
D27200.diff (2 KB)
Attached To
Mode
D27200: Add lists for customizing legacy and bootstrap-tools.
Attached
Detach File
Event Timeline
Log In to Comment