[U-Boot] [PATCH] u-boot: adjust config_cmd_default.h not to raise ton of warnings

Masahiro Yamada yamada.masahiro at socionext.com
Fri May 15 11:12:37 CEST 2015


Hi Pavel,

2015-05-15 17:36 GMT+09:00 Pavel Machek <pavel at denx.de>:
> On Fri 2015-05-01 11:14:11, Pavel Machek wrote:
>>
>> If there's duplicty between config system and config_cmd_default, a
>> ton of warnings is raised, because one uses plain defines, and other
>> defines it to 1. Adjust config_cmd_default.h not to provoke the
>> warnings.
>>
>> Signed-off-by: Pavel Machek <pavel at denx.de>
>
> Ping? Yamada, can you apply this? Tom?


I did not know this patch was delegated to me.
At least, I see it is marked with trini.

I am OK with this patch, but more inclined to agree with Stephen's comment:
"I believe the correct way to fix this is to fix the board config
files that cause the defines to be duplicated"


Once you start to enable CONFIG_CMD_* in Kconfig, you should not include
config_cmd_default.h.



-- 
Best Regards
Masahiro Yamada


More information about the U-Boot mailing list