[U-Boot] Quick guide to Kconfig

Frank Ihle frank.ihle at hs-offenburg.de
Thu Jul 31 08:29:07 CEST 2014


Hi everyone,

can you please give me a hint how to run the menuconfig?
 
I just downloaded the latest U-Boot from ftp://ftp.denx.de/pub/u-boot/u-boot-latest.tar.bz2 (Version: 2014.07). When entering the /u-boot-2014.07/ directory and hitting "make menuconfig" then, it just tells me that there's no rule to make menuconfig - and so I can't run the configuration tool. Am I in the wrong directory or is it the wrong version?

Regards 

Frank

>>> Masahiro Yamada <yamada.m at jp.panasonic.com> 31.07.14 6.53 Uhr >>>
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

_______________________________________________
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