From owner-svn-src-all@freebsd.org Fri Nov 20 20:12:00 2020 Return-Path: Delivered-To: svn-src-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id B93B046CAA3; Fri, 20 Nov 2020 20:12:00 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Cd74J3j1wz4ZC3; Fri, 20 Nov 2020 20:12:00 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 672241BE91; Fri, 20 Nov 2020 20:12:00 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 0AKKC0qT015518; Fri, 20 Nov 2020 20:12:00 GMT (envelope-from bdrewery@FreeBSD.org) Received: (from bdrewery@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 0AKKC0Uw015515; Fri, 20 Nov 2020 20:12:00 GMT (envelope-from bdrewery@FreeBSD.org) Message-Id: <202011202012.0AKKC0Uw015515@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: bdrewery set sender to bdrewery@FreeBSD.org using -f From: Bryan Drewery Date: Fri, 20 Nov 2020 20:12:00 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r367910 - in head: . share/man/man7 X-SVN-Group: head X-SVN-Commit-Author: bdrewery X-SVN-Commit-Paths: in head: . share/man/man7 X-SVN-Commit-Revision: 367910 X-SVN-Commit-Repository: base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Nov 2020 20:12:00 -0000 Author: bdrewery Date: Fri Nov 20 20:11:59 2020 New Revision: 367910 URL: https://svnweb.freebsd.org/changeset/base/367910 Log: Add lists for customizing legacy and bootstrap-tools. Reviewed by: arichardson Sponsored by: Dell EMC Differential Revision: https://reviews.freebsd.org/D27200 Modified: head/Makefile.inc1 head/share/man/man7/build.7 Modified: head/Makefile.inc1 ============================================================================== --- head/Makefile.inc1 Fri Nov 20 19:36:34 2020 (r367909) +++ head/Makefile.inc1 Fri Nov 20 20:11:59 2020 (r367910) @@ -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}; \ Modified: head/share/man/man7/build.7 ============================================================================== --- head/share/man/man7/build.7 Fri Nov 20 19:36:34 2020 (r367909) +++ head/share/man/man7/build.7 Fri Nov 20 20:11:59 2020 (r367910) @@ -24,7 +24,7 @@ .\" .\" $FreeBSD$ .\" -.Dd November 3, 2020 +.Dd November 12, 2020 .Dt BUILD 7 .Os .Sh NAME @@ -571,6 +571,16 @@ may also be used as needed elsewhere within the list. 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