From nobody Tue Jun 04 18:28:00 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 4Vtzc11XSSz5MNyL; Tue, 04 Jun 2024 18:28:01 +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 4Vtzc06sjXz4R4Q; Tue, 4 Jun 2024 18:28:00 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1717525681; 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=Xg5MQISZdlxUUW4pHsXkOzNqYG7Leic/IbJGpVPGFAY=; b=WC7uL+HG4dgmgy5zc8UtwdxZkXCCivbiTSbmRVF8elvojaj5glwF78IGD5tqvzjNolt1u0 bxWt7HLDTbWI5ucWjqONHadoWMgcFFDkWKwbuevL99btoGfZ/SPa4aE8FCc5UJZDFiRXOc 6TIigNwX1WetNoWbHGeaxdUsFTMvAD2WCsfJOHWBeDpgU29f4kWoBFDaEYbPFsJBWpxGXb wLPguzF7lea1n8tjduDDBw2AXpntPqVM9GdA28KzZi9Gv8sAm7LEX9FXtXpZY7/Kz0VTMx xYtXB9FTPoKPdM5kgtntsTKb7c8ZNNSul8oT7EZ2esf7Sz/RjzYf6+lR1edmaw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1717525681; a=rsa-sha256; cv=none; b=njic7HkzMYuxZJ10ZK9vF4fw+vvoEl34cvvyaJdVA7QDgUhWAKdXoCs+otA1wMMxRDHPmS c6eSPfxJ2cY5RCa7H0nyMIvVRbxApXIdvfseu5BT61NCrgO7TwYBRiuCf/3Bk61AAk1Ylh aVycBwAMw3aVC9MRSI+bmGuDxHzj8So32FCkKZqOAKn5OrYlaqd+9pZq0KMf8I1YFHTP3M rRAM5DRcTQJDJUNYbFc4WnrDvS62Qj+dL8rhkAWSQWzByehfLVNCI2CXZguOG5xhPlqwSy /C5ufGG5n0TaYPV7h4YhUEH4qqSCwedlxByW79hN93e9Fc0Sz/RxQKrzw7GvLA== 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=1717525681; 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=Xg5MQISZdlxUUW4pHsXkOzNqYG7Leic/IbJGpVPGFAY=; b=VzLnIYQfP/PQAo6IUeJjaBEpO0oT0geeRh8DRv8eI9PS+MTMINkfUoebcrLk9/SwFxS1nl TSu9Jq+aopmQxPcxHuaWyTVJ/76DCwY0DWMAuhdtwNNcmF5J/BpLftQz76Ws9whhmscrWc tLueIjMrk7GnTvpc4RQrVJyPG9HCI8F2coD5Azxi6yK61FRMCTUbaR76TW5r+0Jh+XedK8 teZIly4bj5nJhddHLUK6SHxxK4ejHfeIl5GhKfVW9VRxq6PElypm+2k7TrAhwt/qxGflt/ mzP/2WbbNqOOaNqoaN0+L1jcgK9vJW2BOw6gQcr3wM3louXJWJeA0lQ/7HIgbQ== 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 4Vtzc052MkzThm; Tue, 4 Jun 2024 18:28:00 +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 454IS0Fk006035; Tue, 4 Jun 2024 18:28:00 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 454IS0W4006032; Tue, 4 Jun 2024 18:28:00 GMT (envelope-from git) Date: Tue, 4 Jun 2024 18:28:00 GMT Message-Id: <202406041828.454IS0W4006032@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Mitchell Horne Subject: git: afa166be99fc - main - 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/main X-Git-Reftype: branch X-Git-Commit: afa166be99fc202027ab5b2030205b59d5104299 Auto-Submitted: auto-generated The branch main has been updated by mhorne: URL: https://cgit.FreeBSD.org/src/commit/?id=afa166be99fc202027ab5b2030205b59d5104299 commit afa166be99fc202027ab5b2030205b59d5104299 Author: Mitchell Horne AuthorDate: 2024-06-04 18:22:54 +0000 Commit: Mitchell Horne CommitDate: 2024-06-04 18:27:50 +0000 build.7: update cross-compile example Replace armv6 with the more-relevant arm64. MFC after: 3 days --- 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 b6f8c0a2881f..3c71c14e6039 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 ,