From nobody Fri Jan 14 22:19:27 2022 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id D82391953743; Fri, 14 Jan 2022 22:19:27 +0000 (UTC) (envelope-from git@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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JbG1W5RvRz4drh; Fri, 14 Jan 2022 22:19:27 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1642198767; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=8Jqa1swZOw9nLQr2Q/Vqe8koXZghqafDv6842O+unas=; b=Nou+0fT98gtIusvTc4Bajse/+BQ0H7U1A04Ch/BXy2r5+rmFVPNcVDn8R7uz8Z3rYAfBQU P+0g9AdS2MYT625rXfMycvj7a3iS5JCD8mz+AlSaZHi6l+NCKEe9D6jjQkKmVbO2nct4dW HBrtlhJ/A7RCV9EkuM3d6lYXWzVUe+HtsYjwHtUsAiWFzuUcI4XnE3MWJ+p7TIyZKnInhh ynt7XyWN2KEu6LBs/mLpX67Z6LNEISM83jGL6Usb3Ofc5U8r/lL1ZI3YHjsM8k1/aICNEp Ki4uIwhJ8JizemxQCYnRw+4rjrTOODX5eRKuv+oytS9b3PRZCJnm6xprR+CsKA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 9C23D1BA57; Fri, 14 Jan 2022 22:19:27 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 20EMJRY7021274; Fri, 14 Jan 2022 22:19:27 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 20EMJRvc021273; Fri, 14 Jan 2022 22:19:27 GMT (envelope-from git) Date: Fri, 14 Jan 2022 22:19:27 GMT Message-Id: <202201142219.20EMJRvc021273@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Eric van Gyzen Subject: git: d7f944a04605 - main - Allow downstream projects to easily add private and internal libs List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: vangyzen X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: d7f944a0460531cfb3ec9ae7d4bfd9dc29481ab8 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1642198767; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=8Jqa1swZOw9nLQr2Q/Vqe8koXZghqafDv6842O+unas=; b=d0ryQQ2Xjv2wKfOpiz2vwTsT0a/rjvM6jS/iapdtJQ3AH3pbIw+9rbpOpcLlD18Q2GYa7n 63IA0Ln/Ftifb3RvUJ4gb8dgsXdvDFlHfjlED6UBt7ZRvtWMwVx6T+jp4MmWLmxFMCTdL0 khryuM9BtgUoVwo5SJQcsT2M3SNMKomyA9jiB1MBtSq26Dk+AJDKndrHSixi20XFTY8RvD FViGV5hrTgKeJ3UNfTyXcURI1fkP+lk+9WJlVFlPxhrFX4Q/gfqkm+32Kwppo0SBkSTL+8 +o2BuEaVxBLnsjQjetTmXXgszt4X8xzEk85wkbKKEldTsorHQAxDmMwLo2gOlA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1642198767; a=rsa-sha256; cv=none; b=p0/S8I33n9Xbbg8DFY4UaVP09WfJdc1Bgue/UyWACNAN85q0arOVegO3pvC2bxlfY91Z9I q/wqNqqCo2sTjcxTjxBXjRSzYuvGNJoIGMK2SEjLoMv2Hs9NjjiksUWoecrk9ZRMD8Ah7I fj6KGu7MSro5wfC22mZWFsWgqCyrfInkHIEEbhLfAv/88Q/cC1DcyfKfHARk9Uw1UKcbIx LNVVGlcdfvtKhz3ctekpF1sfqVtVBOYCBA3VAn1ZZKgUOVq/oJnQpd9tKUeS9ro8BlzsxF H7meqctDJU61pVNvOvV9F7wjQKxlM7+2YrCXv9BzWkiBNRd5Tmv/tpIOpRq7bg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by vangyzen: URL: https://cgit.FreeBSD.org/src/commit/?id=d7f944a0460531cfb3ec9ae7d4bfd9dc29481ab8 commit d7f944a0460531cfb3ec9ae7d4bfd9dc29481ab8 Author: Eric van Gyzen AuthorDate: 2022-01-14 14:12:57 +0000 Commit: Eric van Gyzen CommitDate: 2022-01-14 16:19:19 +0000 Allow downstream projects to easily add private and internal libs Allow projects based on the FreeBSD tree to append to _PRIVATELIBS and _INTERNALLIBS by simply maintaining their own lists of LOCAL_PRIVATELIBS and LOCAL_INTERNALLIBS, respectively. Reviewed by: bdrewery MFC after: 1 week Sponsored by: Dell EMC Isilon Differential Revision: https://reviews.freebsd.org/D33901 --- share/mk/src.libnames.mk | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/share/mk/src.libnames.mk b/share/mk/src.libnames.mk index cf6c41887791..c37b56da18b4 100644 --- a/share/mk/src.libnames.mk +++ b/share/mk/src.libnames.mk @@ -35,6 +35,10 @@ _PRIVATELIBS= \ unbound \ zstd +# Let projects based on FreeBSD append to _PRIVATELIBS +# by maintaining their own LOCAL_PRIVATELIBS list. +_PRIVATELIBS+= ${LOCAL_PRIVATELIBS} + _INTERNALLIBS= \ amu \ bsnmptools \ @@ -79,6 +83,10 @@ _INTERNALLIBS= \ wpautils \ wpawps +# Let projects based on FreeBSD append to _INTERNALLIBS +# by maintaining their own LOCAL_INTERNALLIBS list. +_INTERNALLIBS+= ${LOCAL_INTERNALLIBS} + _LIBRARIES= \ ${_PRIVATELIBS} \ ${_INTERNALLIBS} \