mirror of
https://github.com/freebsd/freebsd-src
synced 2024-07-21 18:27:22 +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
|
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||||
.\" SUCH DAMAGE.
|
.\" SUCH DAMAGE.
|
||||||
.\"
|
.\"
|
||||||
.Dd August 1, 2023
|
.Dd June 4, 2024
|
||||||
.Dt BUILD 7
|
.Dt BUILD 7
|
||||||
.Os
|
.Os
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
|
@ -889,12 +889,13 @@ method of updating your system from the latest sources, please see the
|
||||||
section in
|
section in
|
||||||
.Pa src/UPDATING .
|
.Pa src/UPDATING .
|
||||||
.Pp
|
.Pp
|
||||||
The following sequence of commands can be used to cross-build the
|
The following sequence of commands can be used to cross-build the system for
|
||||||
system for the armv6 architecture on an amd64 host:
|
the arm64 (aarch64) architecture on a different host architecture, such as
|
||||||
|
amd64:
|
||||||
.Bd -literal -offset indent
|
.Bd -literal -offset indent
|
||||||
cd /usr/src
|
cd /usr/src
|
||||||
make TARGET_ARCH=armv6 buildworld buildkernel
|
make TARGET=arm64 buildworld buildkernel
|
||||||
make TARGET_ARCH=armv6 DESTDIR=/clients/arm installworld installkernel
|
make TARGET=arm64 DESTDIR=/clients/arm64 installworld installkernel
|
||||||
.Ed
|
.Ed
|
||||||
.Sh SEE ALSO
|
.Sh SEE ALSO
|
||||||
.Xr cc 1 ,
|
.Xr cc 1 ,
|
||||||
|
|
Loading…
Reference in a new issue