svn commit: r312938 - head/share/man/man7

Andrew Turner andrew at fubar.geek.nz
Sun Jan 29 11:11:58 UTC 2017


On Sat, 28 Jan 2017 23:58:17 +0000 (UTC)
Ngie Cooper <ngie at FreeBSD.org> wrote:

> Author: ngie
> Date: Sat Jan 28 23:58:17 2017
> New Revision: 312938
> URL: https://svnweb.freebsd.org/changeset/base/312938
> 
> Log:
>   Update TARGET/TARGET_ARCH examples to use arm64/aarch64 instead of
> i386/pc98 
>   pc98 support was removed in r312910
> 
> Modified:
>   head/share/man/man7/build.7
>   head/share/man/man7/release.7
> 
> Modified: head/share/man/man7/build.7
> ==============================================================================
> --- head/share/man/man7/build.7	Sat Jan 28 23:51:03
> 2017	(r312937) +++ head/share/man/man7/build.7	Sat Jan
> 28 23:58:17 2017	(r312938) @@ -24,7 +24,7 @@
>  .\"
>  .\" $FreeBSD$
>  .\"
> -.Dd July 20, 2016
> +.Dd January 28, 2017
>  .Dt BUILD 7
>  .Os
>  .Sh NAME
> @@ -517,10 +517,10 @@ 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 PC98 machines requires
> -.Va TARGET_ARCH Ns = Ns Li i386
> +For example, cross-building for ARM64 machines requires
> +.Va TARGET_ARCH Ns = Ns Li aarch64
>  and
> -.Va TARGET Ns = Ns Li pc98 .
> +.Va TARGET Ns = Ns Li arm64 .

That's not quite correct.

Now pc98 has been removed TARGET_ARCH is enough to specify the hardware
to support. TARGET can be used on many hardware platforms as it will
have a default TARGET_ARCH to use, e.g. on arm64 TARGET=arm64 is enough
as it implies TARGET_ARCH=aarch64, however to build armv6 you would
need to set TARGET_ARCH=armv6 as TARGET=arm implies TARGET_ARCH=arm.

Andrew


More information about the svn-src-head mailing list