Re: [PATCH] kbuild: Fix optimization level choice default

From: Arnd Bergmann
Date: Wed Oct 04 2017 - 03:27:26 EST


On Wed, Oct 4, 2017 at 1:53 AM, Ulf Magnusson <ulfalizer@xxxxxxxxx> wrote:
> The choice containing the CC_OPTIMIZE_FOR_PERFORMANCE symbol
> accidentally added a "CONFIG_" prefix when trying to make it the
> default, selecting an undefined symbol as the default.
>
> The mistake is harmless here: Since the default symbol is not visible,
> the choice falls back on using the visible symbol as the default
> instead, which is CC_OPTIMIZE_FOR_PERFORMANCE, as intended.
>
> A patch that makes Kconfig print a warning in this case has been
> submitted separately:
> http://www.spinics.net/lists/linux-kbuild/msg15566.html
>
> Signed-off-by: Ulf Magnusson <ulfalizer@xxxxxxxxx>

Acked-by: Arnd Bergmann <arnd@xxxxxxxx>