Re: [PATCH] kbuild: Fix optimization level choice default
From: Masahiro Yamada
Date: Thu Oct 05 2017 - 16:05:34 EST
2017-10-04 16:27 GMT+09:00 Arnd Bergmann <arnd@xxxxxxxx>:
> 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>
> --
Applied to linux-kbuild/fixes. Thanks.
--
Best Regards
Masahiro Yamada