mirror of
https://git.FreeBSD.org/src.git
synced 2024-10-19 02:29:40 +00:00
build.7: update cross-compile example
Replace armv6 with the more-relevant arm64. MFC after: 3 days
This commit is contained in:
parent
a8a2d5ef12
commit
afa166be99
@ -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 ,
|
||||
|
Loading…
Reference in New Issue
Block a user