diff --git a/share/man/man7/build.7 b/share/man/man7/build.7 --- a/share/man/man7/build.7 +++ b/share/man/man7/build.7 @@ -181,7 +181,7 @@ .Xr make 1 variables .Va TARGET_ARCH -and +and/or .Va TARGET . .Pp This target is only useful after a complete toolchain (including @@ -264,7 +264,7 @@ This is intended to be used in a jail where QEMU is used to improve performance by avoiding emulating binaries that do not need to be emulated. .Sy TARGET -and +and/or .Sy TARGET_ARCH should be defined. .It Cm native-xtools-install @@ -275,7 +275,7 @@ defaults to .Pa nxb-bin . .Sy TARGET -and +and/or .Sy TARGET_ARCH must be defined. .It Cm packages @@ -786,34 +786,34 @@ repository. .It Va TARGET The target hardware platform. +Set this to cross-build for a different platform. This is analogous to the .Dq Nm uname Fl m output. -This is necessary to cross-build some target architectures. -For example, cross-building for ARM64 machines requires -.Va TARGET_ARCH Ns = Ns Li aarch64 -and -.Va TARGET Ns = Ns Li arm64 . If not set, .Va TARGET defaults to the current hardware platform, unless .Va TARGET_ARCH is also set, in which case it defaults to the appropriate value for that architecture. +See +.Nm make Cm targets +for a current list. .It Va TARGET_ARCH The target machine processor architecture. +Set this to cross-build for a different architecture. This is analogous to the .Dq Nm uname Fl p output. -Set this to cross-build for a different architecture. If not set, .Va TARGET_ARCH defaults to the current machine architecture, unless .Va TARGET is also set, in which case it defaults to the appropriate value for that platform. -Typically, one only needs to set -.Va TARGET . +See +.Nm make Cm targets +for a current list. .El .Pp Builds under directory