git: e03813c3e1fd - main - development(7): Use a more common architecture for examples
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 03 Nov 2021 09:14:49 UTC
The branch main has been updated by trasz:
URL: https://cgit.FreeBSD.org/src/commit/?id=e03813c3e1fd6aaac87eac3dd258cccb4238ed91
commit e03813c3e1fd6aaac87eac3dd258cccb4238ed91
Author: Edward Tomasz Napierala <trasz@FreeBSD.org>
AuthorDate: 2021-10-31 13:27:29 +0000
Commit: Edward Tomasz Napierala <trasz@FreeBSD.org>
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