[U-Boot] Quick guide to Kconfig

Yan, Miao Miao.Yan at windriver.com
Mon Aug 4 09:12:01 CEST 2014


Hi,

> -----Original Message-----
> From: u-boot-bounces at lists.denx.de [mailto:u-boot-bounces at lists.denx.de]
> On Behalf Of Masahiro Yamada
> Sent: Thursday, July 31, 2014 12:51 PM
> To: u-boot at lists.denx.de
> Subject: [U-Boot] Quick guide to Kconfig
> 
> 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


Do we have a minimal python version requirement ? Because I can
no longer build U-Boot on our build server which still uses python-2.4.x.
There are some 2.6+ only syntax in genboardscfg.py and multiconfig.py. 

Thanks,
Miao


> 
> 
> 
> [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
> 
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot


More information about the U-Boot mailing list