From nobody Thu May 04 18:29:40 2023 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 4QC2R83SJ0z49PDh; Thu, 4 May 2023 18:29:40 +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 4QC2R82lKFz4GB9; Thu, 4 May 2023 18:29:40 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1683224980; 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=E98TVezeBIYYlRsfjyf3KuKYgdEf5GXXDw7z8yyjKk4=; b=mIWd+sPdjv+EhLgqYfoNSKmdl+LTNdwFAd6oFWybaK46B/7a0xLxcgIOE9xW0iGKvsEad5 oXWOX876TvWe9t3yB9iEp8rulOWLZufN1KW9S5Ijm/g2GeR8JZX+pSXo3nWKoa0GKlXMN9 RuZmV87MeTl7hHHJEDH7T7e3G6c0aEcpWMiUz3LjpiV2HyZdJUoeJ+W0+cH0yPHv1+kCzt FYtQlijpAgjcVrcVP4a8eXR/xyzAl5HSV96yjfPYED6nbY0nmWsMmQF7xbb6kPsHfps1lO zvj9erkBi1xqpKSzx4Y6hxvpAK0CxLUHiyEpJHQ10aWKoEh40dHX8ZbgIb8eAA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1683224980; 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=E98TVezeBIYYlRsfjyf3KuKYgdEf5GXXDw7z8yyjKk4=; b=JAifULBhqyKIHkCsRPemFk2AD+K4uCvjxboGKbL5f0RkvYB0VubPY1sb+LLN+wTVCvYT2D KmHlOSYEg6S5D+A/paS86Zuy6eBXDacNvn7AdKC88Vs9NwgfKN+YTrLVd5/ZxccYY58cC0 yKcj66yOnUc4qz/7kx6HQspqeW9/hTFegKNjdxPYkHRXMkY9kYfOLucWppilXIQje1qUtI DkylvPbT709EWoi7KKD3hOFizDTkYGmk7MIf7ItRSFlkbvx9BpOMIYV2Cpx59if+s9fY+d qLtHAh1BbOj0AW5bDyKcwZQsEuMizcg+wUarhvLy1PirHkSwyBt8dBs9KIMMpw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1683224980; a=rsa-sha256; cv=none; b=JmB7YkMkC9iOfHWCFW33qS7fWARPqiOF86UAh+UixqbVYIX4GzfkRi8I9o3ZWTp2hX6Ae5 szhl1KquH0GZpW/sfEPmSTSxbdja4kCVi/2+lli2Xf60g9BBviRylbd2iG+mQAIbO77FTY e9Tr/QYcuv0ggIXMawH0r8i6lssDzMmA2n4Iqr1drgLGsyglAwnPtpRFFN60m6ZnDi832M g7s7Rbeg8tpbdEOh494twz1gcMRpVXRfc7QClOUMEFh9Tn/Q1DeDYUmgPQ0PSTacYwVUCD ZDOBA4RbohaTleaA5iIRCnIIcHB9Oho4E92j1L1f+5f3NedsIb2iZIdt5PlwsQ== 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 4QC2R81p1GzNJk; Thu, 4 May 2023 18:29:40 +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 344ITeEE033751; Thu, 4 May 2023 18:29:40 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 344ITeJ3033750; Thu, 4 May 2023 18:29:40 GMT (envelope-from git) Date: Thu, 4 May 2023 18:29:40 GMT Message-Id: <202305041829.344ITeJ3033750@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: "Simon J. Gerraty" Subject: git: ba4d333364ea - main - dirdeps.mk for host* DEP_TARGET_SPEC is just DEP_MACHINE 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: sjg X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: ba4d333364ea7b4f8bccce3e5f35bd989b707c6a Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by sjg: URL: https://cgit.FreeBSD.org/src/commit/?id=ba4d333364ea7b4f8bccce3e5f35bd989b707c6a commit ba4d333364ea7b4f8bccce3e5f35bd989b707c6a Author: Simon J. Gerraty AuthorDate: 2023-05-04 18:29:33 +0000 Commit: Simon J. Gerraty CommitDate: 2023-05-04 18:29:33 +0000 dirdeps.mk for host* DEP_TARGET_SPEC is just DEP_MACHINE This helps avoid ugly noise in dirdeps.cache on Linux. --- share/mk/dirdeps.mk | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/share/mk/dirdeps.mk b/share/mk/dirdeps.mk index 6fedd00310e9..83b620044aa5 100644 --- a/share/mk/dirdeps.mk +++ b/share/mk/dirdeps.mk @@ -1,4 +1,4 @@ -# $Id: dirdeps.mk,v 1.157 2023/04/22 21:07:51 sjg Exp $ +# $Id: dirdeps.mk,v 1.158 2023/05/04 18:26:17 sjg Exp $ # SPDX-License-Identifier: BSD-2-Clause # @@ -333,6 +333,14 @@ DEP_${TARGET_SPEC_VARS:[$i]} := ${_tspec:[$i]} DEP_MACHINE := ${_DEP_TARGET_SPEC} .endif +# host is special +.if ${DEP_MACHINE:Mhost*} != "" +DEP_TARGET_SPEC = ${DEP_MACHINE} +.for v in ${TARGET_SPEC_VARS:O:u:NMACHINE} +.undef DEP_$v +.endfor +.endif + # reset each time through _build_all_dirs = _build_xtra_dirs =