[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CACPK8Xf4+M9Q1zC5GBC0PBJBZnim14m_s5HoQJQOn5Dc-uCDag@mail.gmail.com>
Date: Wed, 31 Oct 2018 07:41:21 +1030
From: Joel Stanley <joel@....id.au>
To: Masahiro Yamada <yamada.masahiro@...ionext.com>
Cc: linux-kbuild@...r.kernel.org, linux-mips@...ux-mips.org,
Michal Marek <michal.lkml@...kovi.net>, jhogan@...nel.org,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
ralf@...ux-mips.org, paul.burton@...s.com,
Paul Mackerras <paulus@...ba.org>,
linuxppc-dev@...ts.ozlabs.org
Subject: Re: [PATCH v2 1/2] kbuild: replace cc-name test with CONFIG_CC_IS_CLANG
On Tue, 30 Oct 2018 at 23:58, Masahiro Yamada
<yamada.masahiro@...ionext.com> 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.
Thanks, I didn't know about this.
>
> Signed-off-by: Masahiro Yamada <yamada.masahiro@...ionext.com>
> Acked-by: Michael Ellerman <mpe@...erman.id.au> (powerpc)
Acked-by: Joel Stanley <joel@....id.au>
Cheers,
Joel
Powered by blists - more mailing lists