From nobody Fri Jun 21 13:05:56 2024 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 4W5HfX42ppz5Nf7C; Fri, 21 Jun 2024 13:05:56 +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 4W5HfX3793z4jLQ; Fri, 21 Jun 2024 13:05:56 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1718975156; 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=jxoDEMcJX+k6HGXZiY8MlDumcpDQTR0ZiRCsn6KnDB0=; b=R6YbQtw3Bj4tQK6UlmQBeTqs1a31gEZlYshxwzidqqOM29nGG1+ulYopwM6K3BevfbCqFw Sfwwm1pdOeoX2pcMU8BwZ8SRHC2EG4+Er5iAmNLHQmY7IWCPFpbCEPg3q6pX7Y+8Q9xice 6aL6KI7iCYlVFghg01RLzcy9TY1LG+G+AmRfaAUbpdaS85wzQ+VeeRN510PWoNyhNZD6YZ zVl0NlYY8TpFJCCLG/N/rsuYpD6t4cYXFExF3IqHPYJj6kwvCLGWleg3Gn9phfm+TQfWOO iWUteDikp1FZh8NCvmSPuqTTEfPi3rZGmbbkJacOSIegacBCt951tS9XjWPDpQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1718975156; a=rsa-sha256; cv=none; b=MmFEYcN9MGmCwa1dO68KkgreNNTgol8xZMKy6yjcw6tnxVFyAA6j12sR4kuc3F0Bvs8y7+ u564JICZs+vURHi54Tdoy97RIPL19P/wdgC90R95TwbjjeQUNio28tYSRqnO9Gb1qxbgVN Ks/o6LiAx3RQZEyMiSqhNeLXaPJRGTsvWNxXlacbwH9WgoBo0fesYVBQA2VXJ1V7954Bxd AnASohIL/lT0KacTqHXqO5FnoCxHtDTxnrZqKqzi2NLNTQ47BRcE9DY2LMmW/HTbDtZVPW Vo0IaWDrVqqHDcG35bk6t7tJAEPTuqcyiyIV0pLzBFkt077oFukiV0dctBzFSQ== 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=1718975156; 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=jxoDEMcJX+k6HGXZiY8MlDumcpDQTR0ZiRCsn6KnDB0=; b=BqkgpsUEfYjsOcSMpfN0nZRsxnAfDGGkipey308qfl3PRo7JwNT6/Ipahq79H6pIge1jPO XTtsJdx6HhbdjjYtxbEdEU1YXbfQKVt2ZbTrzlTcGXcDM3ohmkKoLIfnsoml9y3gCj7w4j kU4RKjDbmYEbl8afkQDL+rscuQWWarVWW2fAga1HmRBAN2i4uSDe5h5a7HoYDXYE2a43Tk atwg0598z5MZ2a96y5jefYuPt3JbL1JgJ7HaQFywsYrtvLc1Lb+VXT6lczCguqEB1c1HXT Gr3EJkn1I7CkLmcQ+9jTlJMQjBmp5tM6sNc7SESe+GN7fz8+waTdF66gBKv4AA== 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 4W5HfX2lRGz187f; Fri, 21 Jun 2024 13:05:56 +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 45LD5ulR012025; Fri, 21 Jun 2024 13:05:56 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 45LD5uFg012022; Fri, 21 Jun 2024 13:05:56 GMT (envelope-from git) Date: Fri, 21 Jun 2024 13:05:56 GMT Message-Id: <202406211305.45LD5uFg012022@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Mitchell Horne Subject: git: b8f2781b4623 - stable/14 - build.7: update cross-compile example 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: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: mhorne X-Git-Repository: src X-Git-Refname: refs/heads/stable/14 X-Git-Reftype: branch X-Git-Commit: b8f2781b46237fe54f472537d72cfad84991aefb Auto-Submitted: auto-generated The branch stable/14 has been updated by mhorne: URL: https://cgit.FreeBSD.org/src/commit/?id=b8f2781b46237fe54f472537d72cfad84991aefb commit b8f2781b46237fe54f472537d72cfad84991aefb Author: Mitchell Horne AuthorDate: 2024-06-04 18:22:54 +0000 Commit: Mitchell Horne CommitDate: 2024-06-21 13:05:02 +0000 build.7: update cross-compile example Replace armv6 with the more-relevant arm64. MFC after: 3 days (cherry picked from commit afa166be99fc202027ab5b2030205b59d5104299) --- share/man/man7/build.7 | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/share/man/man7/build.7 b/share/man/man7/build.7 index 916382f98b76..79c05f5ab63a 100644 --- a/share/man/man7/build.7 +++ b/share/man/man7/build.7 @@ -25,7 +25,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd August 1, 2023 +.Dd June 4, 2024 .Dt BUILD 7 .Os .Sh NAME @@ -889,12 +889,13 @@ method of updating your system from the latest sources, please see the section in .Pa src/UPDATING . .Pp -The following sequence of commands can be used to cross-build the -system for the armv6 architecture on an amd64 host: +The following sequence of commands can be used to cross-build the system for +the arm64 (aarch64) architecture on a different host architecture, such as +amd64: .Bd -literal -offset indent cd /usr/src -make TARGET_ARCH=armv6 buildworld buildkernel -make TARGET_ARCH=armv6 DESTDIR=/clients/arm installworld installkernel +make TARGET=arm64 buildworld buildkernel +make TARGET=arm64 DESTDIR=/clients/arm64 installworld installkernel .Ed .Sh SEE ALSO .Xr cc 1 ,