From nobody Thu Mar 07 05:58:41 2024 X-Original-To: dev-commits-src-main@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 4TqzBT263Jz5CnLS; Thu, 7 Mar 2024 05:58:41 +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 4TqzBT1Ld5z48WR; Thu, 7 Mar 2024 05:58:41 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1709791121; 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=TZDU0uvzeNHcUg8KqGQO8Jn46JWIRHP5lpbYzVTpi9A=; b=aR4FaoXzr9LyzQ5nfGRWxCUkdMYcHH03hQ6sl1OyjqNHLsJW6Kfthlhf0FelQaOMbCnlDl DRGIz5RYndQCAgEqjqy0yNW/ZQaqz6BS+mMRAxKpbxXaWNewdCkamYRkud8O8ICunr0/bn XYJ8YlGfdEzZuL86CQeQNROw8Mx7jX67WzJJW33Zvk4Xab/H4skM2ViEz3KWUTESP7WBtI v+QbDgnoIOEfYJnaN+YTxxKI0AZNstqzmj1XddEgc1VLoMb+tP53k0jJTUX1zR1WkxTb2l QENHIZvHnu5xcZEyYlTtQFpQSwH2Y3HR7Jx31W+/1gJUjBSR5Q4a2CggVHco1g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1709791121; a=rsa-sha256; cv=none; b=jA76Ev+FMHsAHjIeTGtUv4xW8g53rAn7A7DECVYDTTiKQXZJsNlCEp5LHtbH7Ozqhue0BY K5pdyY1NxY578agRASuY7O8NVb45kzhQQItnYjVc0wP9Fotv3nK6MA7WNWCPKrEI+k1epP sQwn9M/GqV5L0wamc6u1WZSolSyAgQv1Dtg1LOEFtjNHPBxNe2arguLYoIARVT/7MROXRr ky6ccgHQOhTWmyco6e61Q0zxKxoWYz38wyP5rzpMox5scCt9jYUs6+0JtJKuZLpLNKY7ak BG3rBn6OAntIvcgZETMzNjONkLfiuCzuYdNL7UKOS2VZi3bpwZoPCAhnzmjEGQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1709791121; 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=TZDU0uvzeNHcUg8KqGQO8Jn46JWIRHP5lpbYzVTpi9A=; b=QjrJK0k52VFy34zcWZJcBubjar2zALHCx4xsN+6uYT25GKs6rMZ8luyZetcdG5O8IPUdBO 9F632zMz1X0dOQ/wXmV6o82d64/mbblh3SmdQ3IesvQMUkZC42xsT+WgIRJ3hoWLEHC17x k4wrDUz1mp32hmBizG1wSM2vNFFXps7WAfnENPEnwsS/x/Rm5oKm7dkfr4ckMARdAecWMj o1XymrLaIh4DipxHbHN8vQpurR0WOdYtPxtPDoR1lh4wFbnhTo2k1PJwdyWzJKFV6jWTuW ZdB6TgtU6VPIX5IbEd1pMjTAsIWMglY7K1GfajmlL2ozT7P/Xq9JRpP/5iwlkg== 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 4TqzBT0qjyzMnV; Thu, 7 Mar 2024 05:58:41 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 4275wfOx096122; Thu, 7 Mar 2024 05:58:41 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 4275wf1f096119; Thu, 7 Mar 2024 05:58:41 GMT (envelope-from git) Date: Thu, 7 Mar 2024 05:58:41 GMT Message-Id: <202403070558.4275wf1f096119@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Mark Johnston Subject: git: 8a802df1de2d - main - bhyve/gdb: Avoid rebuilding target.xml for install targets List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: markj X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 8a802df1de2d77fd0a62996bd785ca3f1326887f Auto-Submitted: auto-generated The branch main has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=8a802df1de2d77fd0a62996bd785ca3f1326887f commit 8a802df1de2d77fd0a62996bd785ca3f1326887f Author: Mark Johnston AuthorDate: 2024-03-07 05:39:07 +0000 Commit: Mark Johnston CommitDate: 2024-03-07 05:39:07 +0000 bhyve/gdb: Avoid rebuilding target.xml for install targets Otherwise it's impossible to install from a read-only objdir. Fixes: f81cdf24ba54 ("bhyve: Add support for XML register definitions") Reported by: olivier --- usr.sbin/bhyve/gdb/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/usr.sbin/bhyve/gdb/Makefile b/usr.sbin/bhyve/gdb/Makefile index a444b0cc4c69..cc9ba4d224da 100644 --- a/usr.sbin/bhyve/gdb/Makefile +++ b/usr.sbin/bhyve/gdb/Makefile @@ -8,6 +8,7 @@ XMLARCH= i386:x86-64 FILES+= amd64.xml .endif +.if !make(install*) target.xml: .PHONY @echo "" > ${.TARGET} @echo "" >> ${.TARGET} @@ -17,5 +18,6 @@ target.xml: .PHONY @echo " " >> ${.TARGET} .endfor @echo "" >> ${.TARGET} +.endif .include