uboot/tools
Masahiro Yamada 51148790f2 kconfig: switch to Kconfig
This commit enables Kconfig.
Going forward, we use Kconfig for the board configuration.
mkconfig will never be used. Nor will include/config.mk be generated.

Kconfig must be adjusted for U-Boot because our situation is
a little more complicated than Linux Kernel.
We have to generate multiple boot images (Normal, SPL, TPL)
from one source tree.
Each image needs its own configuration input.

Usage:

Run "make <board>_defconfig" to do the board configuration.

It will create the .config file and additionally spl/.config, tpl/.config
if SPL, TPL is enabled, respectively.

You can use "make config", "make menuconfig" etc. to create
a new .config or modify the existing one.

Use "make spl/config", "make spl/menuconfig" etc. for spl/.config
and do likewise for tpl/.config file.

The generic syntax of configuration targets for SPL, TPL is:

  <target_image>/<config_command>

Here, <target_image> is either 'spl' or 'tpl'
      <config_command> is 'config', 'menuconfig', 'xconfig', etc.

When the configuration is done, run "make".
(Or "make <board>_defconfig all" will do the configuration and build
in one time.)

For futher information of how Kconfig works in U-Boot,
please read the comment block of scripts/multiconfig.py.

By the way, there is another item worth remarking here:
coexistence of Kconfig and board herder files.

Prior to Kconfig, we used C headers to define a set of configs.

We expect a very long term to migrate from C headers to Kconfig.
Two different infractructure must coexist in the interim.

In our former configuration scheme, include/autoconf.mk was generated
for use in makefiles.
It is still generated under include/, spl/include/, tpl/include/ directory
for the Normal, SPL, TPL image, respectively.

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Acked-by: Simon Glass <sjg@chromium.org>
2014-07-30 08:48:03 -04:00
..
bddb
buildman buildman: make sure to invoke GNU Make 2014-07-29 11:48:40 -04:00
easylogo tools: convert makefiles to kbuild style 2014-02-19 11:07:49 -05:00
env kconfig: switch to Kconfig 2014-07-30 08:48:03 -04:00
gdb Makefile: move BFD_ROOT_DIR to tools/gdb/Makefile 2014-02-19 11:07:50 -05:00
kermit
logos logos: Update of the syteco company logo 2014-05-05 11:21:23 +02:00
omap
palmtreo680
patman patman: make "No recipient" checking more tolerant 2014-07-28 04:57:24 +01:00
scripts kbuild: move asm-offsets.h rules to ./Kbuild 2014-02-25 11:01:28 -05:00
.gitignore .gitignore: move *.exe pattern to the top gitignore for Cygwin 2014-06-11 16:27:05 -04:00
Makefile kconfig: switch to Kconfig 2014-07-30 08:48:03 -04:00
aisimage.c
aisimage.h
atmel_pmecc_params.c arm:at91: enable ROM loadable atmel image 2014-05-27 00:10:49 +02:00
atmelimage.c mkimage: add atmelimage 2014-05-27 00:10:48 +02:00
bin2header.c
bmp_logo.c
default_image.c
dumpimage.c
dumpimage.h includes: move openssl headers to include/u-boot 2014-06-19 11:19:04 -04:00
envcrc.c
fdt_host.h tools, fit_check_sign: verify a signed fit image 2014-03-21 16:40:38 -04:00
fit_check_sign.c Enhance fit_check_sign to check all images 2014-06-19 11:19:02 -04:00
fit_common.c mkimage: Automatically make space in FDT when full 2014-06-11 16:25:46 -04:00
fit_common.h mkimage: Automatically make space in FDT when full 2014-06-11 16:25:46 -04:00
fit_image.c mkimage: Automatically make space in FDT when full 2014-06-11 16:25:46 -04:00
fit_info.c tools: Check arguments in fit_check_sign/fit_info 2014-06-19 11:18:57 -04:00
gen_eth_addr.c
getline.c
getline.h
gpheader.h tools: mkimage: add support for gpimage format 2014-04-17 17:24:38 -04:00
gpimage-common.c tools: mkimage: add support for gpimage format 2014-04-17 17:24:38 -04:00
gpimage.c tools: mkimage: add support for gpimage format 2014-04-17 17:24:38 -04:00
image-host.c Enhance fit_check_sign to check all images 2014-06-19 11:19:02 -04:00
imagetool.c mkimage: add atmelimage 2014-05-27 00:10:48 +02:00
imagetool.h includes: move openssl headers to include/u-boot 2014-06-19 11:19:04 -04:00
img2brec.sh
img2srec.c
imximage.c
imximage.h
jtagconsole
kwbimage.c
kwbimage.h
kwboot.c
mingw_support.c
mingw_support.h
mkenvimage.c
mkexynosspl.c
mkimage.c
mkimage.h includes: move openssl headers to include/u-boot 2014-06-19 11:19:04 -04:00
mksunxiboot.c sunxi: mksunxiboot: Fix loading of files with a size which is not a multiple of 4 2014-07-06 17:41:13 +01:00
mpc86x_clk.c
mxsboot.c
mxsimage.c tools: Refactor mxsimage to use pbl_crc32 2014-06-05 14:38:38 -04:00
mxsimage.h
ncb.c
netconsole
omapimage.c tools: mkimage: add support for gpimage format 2014-04-17 17:24:38 -04:00
omapimage.h tools: mkimage: add support for gpimage format 2014-04-17 17:24:38 -04:00
os_support.c
os_support.h
pbl_crc32.c mkimage : Split out and clean pbl_crc32 for use by other image types 2014-06-05 14:38:38 -04:00
pbl_crc32.h mkimage : Split out and clean pbl_crc32 for use by other image types 2014-06-05 14:38:38 -04:00
pblimage.c mkimage : Split out and clean pbl_crc32 for use by other image types 2014-06-05 14:38:38 -04:00
pblimage.h
proftool.c
reformat.py
relocate-rela.c
ublimage.c
ublimage.h
ubsha1.c includes: move openssl headers to include/u-boot 2014-06-19 11:19:04 -04:00
xway-swap-bytes.c