lkml.org 
[lkml]   [2020]   [Nov]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 2/7] kbuild: doc: replace arch/$(ARCH)/ with arch/$(SRCARCH)/
From
Date
Hi-

On 11/22/20 8:53 PM, Masahiro Yamada wrote:

> ---
>
> Documentation/kbuild/makefiles.rst | 61 +++++++++++++++++-------------
> Documentation/kbuild/modules.rst | 2 +-
> 2 files changed, 35 insertions(+), 28 deletions(-)
>
> diff --git a/Documentation/kbuild/makefiles.rst b/Documentation/kbuild/makefiles.rst
> index a7b874097a91..2a5232b321af 100644
> --- a/Documentation/kbuild/makefiles.rst
> +++ b/Documentation/kbuild/makefiles.rst

>
> 9 Kbuild Variables
> ==================
> @@ -1564,6 +1561,16 @@ The top Makefile exports the following variables:
>
> make ARCH=m68k ...
>
> + SRCARCH
> + This variable speficifies the directory in arch/ to build.

specifies

> +
> + ARCH and SRCARCH may not necessarily match. A couple of arch
> + directories are biarch, that is, a single arch/*/ directory supports
> + both 32-bit and 64-bit.
> +
> + For example, you can pass in ARCH=i386, ARCH=x86_64, or ARCH=x86.
> + For all of them, SRCARCH=x86 because arch/x86/ supports both i386 and
> + x86_64.
>
> INSTALL_PATH
> This variable defines a place for the arch Makefiles to install

Reviewed-by: Randy Dunlap <rdunlap@infradead.org>

thanks.
--
~Randy

\
 
 \ /
  Last update: 2020-11-23 18:41    [W:0.075 / U:0.452 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site