[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <939b93cf-a116-da76-8fde-fa4fe1b42ce4@gmx.de>
Date: Mon, 3 May 2021 15:16:47 +0200
From: Helge Deller <deller@....de>
To: Masahiro Yamada <masahiroy@...nel.org>,
linux-kbuild@...r.kernel.org
Cc: Arnd Bergmann <arnd@...db.de>,
"James E.J. Bottomley" <James.Bottomley@...senPartnership.com>,
Thomas Bogendoerfer <tsbogend@...ha.franken.de>,
Yoshinori Sato <ysato@...rs.sourceforge.jp>,
linux-kernel@...r.kernel.org, linux-m68k@...ts.linux-m68k.org,
linux-parisc@...r.kernel.org, linux-xtensa@...ux-xtensa.org
Subject: Re: [PATCH 2/2] arch: use cross_compiling to check whether it is a
cross build or not
On 5/1/21 7:24 PM, Masahiro Yamada wrote:
> 'cross_compiling' is defined by the top Makefile and available for
> arch Makefiles to check whether it is a cross build or not. A good
> thing is the variable name 'cross_compiling' is self-documenting.
>
> This is a simple replacement for m68k, mips, sh, for which $(ARCH)
> and $(SRCARCH) always match.
>
> No functional change is intended for xtensa, either.
>
> This is rather a fix for parisc because arch/parisc/Makefile defines
> UTS_MATCHINE depending on CONFIG_64BIT, therefore cc-cross-prefix
> is not working in Kconfig time.
>
> Signed-off-by: Masahiro Yamada <masahiroy@...nel.org>
> arch/m68k/Makefile | 2 +-
> arch/mips/Makefile | 2 +-
> arch/parisc/Makefile | 2 +-
Acked-by: Helge Deller <deller@....de> # parisc
Thanks!
Helge
Powered by blists - more mailing lists