[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <3f9e520c-9902-b91f-4276-1a6b37aecb1d@infradead.org>
Date: Mon, 23 Nov 2020 09:39:22 -0800
From: Randy Dunlap <rdunlap@...radead.org>
To: Masahiro Yamada <masahiroy@...nel.org>,
linux-kbuild@...r.kernel.org
Cc: Jonathan Corbet <corbet@....net>,
Michal Marek <michal.lkml@...kovi.net>,
linux-doc@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 2/7] kbuild: doc: replace arch/$(ARCH)/ with
arch/$(SRCARCH)/
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@...radead.org>
thanks.
--
~Randy
Powered by blists - more mailing lists