Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Jan 2017 11:11:17 +0000
From:      Andrew Turner <andrew@fubar.geek.nz>
To:        Ngie Cooper <ngie@FreeBSD.org>
Cc:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   Re: svn commit: r312938 - head/share/man/man7
Message-ID:  <20170129111117.209bd639@zapp>
In-Reply-To: <201701282358.v0SNwHo6055555@repo.freebsd.org>
References:  <201701282358.v0SNwHo6055555@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 28 Jan 2017 23:58:17 +0000 (UTC)
Ngie Cooper <ngie@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20170129111117.209bd639>