Re: [PATCH 2/7] kbuild: doc: replace arch/$(ARCH)/ with arch/$(SRCARCH)/

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxx>

thanks.
-- 
~Randy



[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux