[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20181030165156.k6blbpbxh2fmiiay@pburton-laptop>
Date: Tue, 30 Oct 2018 16:51:58 +0000
From: Paul Burton <paul.burton@...s.com>
To: Masahiro Yamada <yamada.masahiro@...ionext.com>
CC: "linux-kbuild@...r.kernel.org" <linux-kbuild@...r.kernel.org>,
"linux-mips@...ux-mips.org" <linux-mips@...ux-mips.org>,
James Hogan <jhogan@...nel.org>,
Michael Ellerman <mpe@...erman.id.au>,
Benjamin Herrenschmidt <benh@...nel.crashing.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
Michal Marek <michal.lkml@...kovi.net>,
Paul Mackerras <paulus@...ba.org>,
Ralf Baechle <ralf@...ux-mips.org>,
"linuxppc-dev@...ts.ozlabs.org" <linuxppc-dev@...ts.ozlabs.org>
Subject: Re: [PATCH v2 1/2] kbuild: replace cc-name test with
CONFIG_CC_IS_CLANG
Hi Masahiro,
On Tue, Oct 30, 2018 at 10:26:33PM +0900, Masahiro Yamada wrote:
> Evaluating cc-name invokes the compiler every time even when you are
> not compiling anything, like 'make help'. This is not efficient.
>
> The compiler type has been already detected in the Kconfig stage.
> Use CONFIG_CC_IS_CLANG, instead.
>
> Signed-off-by: Masahiro Yamada <yamada.masahiro@...ionext.com>
> Acked-by: Michael Ellerman <mpe@...erman.id.au> (powerpc)
Looks good to me:
Acked-by: Paul Burton <paul.burton@...s.com> (MIPS)
Thanks,
Paul
Powered by blists - more mailing lists