From nobody Wed Nov 03 09:14:49 2021 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 24CED1828DA5; Wed, 3 Nov 2021 09:14:50 +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 4Hkh1Q0VS1z3n3b; Wed, 3 Nov 2021 09:14:50 +0000 (UTC) (envelope-from git@FreeBSD.org) 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 E4F8A15EDF; Wed, 3 Nov 2021 09:14:49 +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 1A39EnRu035755; Wed, 3 Nov 2021 09:14:49 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1A39Enne035754; Wed, 3 Nov 2021 09:14:49 GMT (envelope-from git) Date: Wed, 3 Nov 2021 09:14:49 GMT Message-Id: <202111030914.1A39Enne035754@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Edward Tomasz Napierala Subject: git: e03813c3e1fd - main - development(7): Use a more common architecture for examples 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: trasz X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: e03813c3e1fd6aaac87eac3dd258cccb4238ed91 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by trasz: URL: https://cgit.FreeBSD.org/src/commit/?id=e03813c3e1fd6aaac87eac3dd258cccb4238ed91 commit e03813c3e1fd6aaac87eac3dd258cccb4238ed91 Author: Edward Tomasz Napierala AuthorDate: 2021-10-31 13:27:29 +0000 Commit: Edward Tomasz Napierala CommitDate: 2021-11-03 08:59:26 +0000 development(7): Use a more common architecture for examples --- share/man/man7/development.7 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/share/man/man7/development.7 b/share/man/man7/development.7 index 805e3c948df9..71846b236ec2 100644 --- a/share/man/man7/development.7 +++ b/share/man/man7/development.7 @@ -23,7 +23,7 @@ .\" .\" $FreeBSD$ .\" -.Dd March 19, 2021 +.Dd November 1, 2021 .Dt DEVELOPMENT 7 .Os .Sh NAME @@ -157,20 +157,20 @@ for another CPU architecture, first prepare your source tree by building the cross-toolchain: .Bd -literal -offset indent cd src -make -sj8 toolchain TARGET_ARCH=armv6 +make -sj8 toolchain TARGET_ARCH=aarch64 .Ed .Pp Afterwards, to build and install a single piece of userspace, use: .Bd -literal -offset indent cd src/bin/ls -make buildenv TARGET_ARCH=armv6 +make buildenv TARGET_ARCH=aarch64 make clean all install DESTDIR=/clients/arm .Ed .Pp Likewise, to quickly rebuild and reinstall the kernel, use: .Bd -literal -offset indent cd src -make buildenv TARGET_ARCH=armv6 +make buildenv TARGET_ARCH=aarch64 make -sj8 kernel KERNFAST=1 DESTDIR=/clients/arm .Ed .Sh SEE ALSO