[U-Boot] Quick guide to Kconfig

Masahiro Yamada yamada.m at jp.panasonic.com
Thu Jul 31 06:51:25 CEST 2014


Hi all,



The mainline has switched to Kconfig.

Please make sure to use "make <board>_defconfig"
instead of "make <board>_config".



[1] Board Configuration

     make  <board_name>_defconfig



[2] Modify configuration


 make config,  make menuconfig,  make nconfig, ... etc.


 For SPL,
   make spl/config,  make spl/menuconfig,  make spl/nconfig, ... etc.


 For TPL,
   make tpl/config,  make tpl/menuconfig,  make tpl/nconfig, ... etc.


  But there are no useful configurations in Kconfig for now.


[3] boards.cfg

We no longer have boards.cfg maintained in the git-repo.
But this file is necessary for MAKEALL and buildman.
Perhaps it may also be useful for browsing the list of the
supported boards.

You can generate an equivalent one by
running "tools/genboardscfg.py".



[4] MAKEALL and buildman

They depend on the boards.cfg file.

MAKEALL and buildman automatically generate boards.cfg
if it does not exist.










Best Regards
Masahiro Yamada



More information about the U-Boot mailing list