[U-Boot] [PATCH] Kconfig: Add a new DISTRO_DEFAULTS Kconfig option

Masahiro Yamada yamada.masahiro at socionext.com
Sun Jun 12 09:17:46 CEST 2016


Hi Hans,

2016-06-11 23:54 GMT+09:00 Hans de Goede <hdegoede at redhat.com>:
> DISTRO_DEFAULTS is intended to mirror / replace
> include/config_distro_defaults.h.
>
> The intend is for boards which include this file to select this from
> their Kconfig files and when moving setting to Kconfig which are #define-ed
> in config_distro_defaults.h to select this from DISTRO_DEFAULTS so that
> boards which have selected DISTRO_DEFAULTS will keep the same configuration
> as before without needing any defconfig file changes.
>
> The initial list of selected things matches all settings recently removed
> from config_distro_defaults.h because they have been converted to Kconfig,
> with the exception of CMD_ELF and CMD_NET, which have a default of y, if
> the default of these ever changes they should be selected by DISTRO_DEFAULTS
> too.
>
> For testing and example purposes this commit also converts ARCH_SUNXI
> to use DISTRO_DEFAULT instead of selecting everything it needs itself.
>
> Signed-off-by: Hans de Goede <hdegoede at redhat.com>

Could you update the "Enabling the distro options" section of doc/README.distro
to suggest to enable this option?

Thanks!


-- 
Best Regards
Masahiro Yamada


More information about the U-Boot mailing list