From: Tom Rini <trini@ti.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v8 05/13] kconfig: switch to Kconfig
Date: Wed, 30 Jul 2014 15:14:49 -0400 [thread overview]
Message-ID: <20140730191449.GI19374@bill-the-cat> (raw)
In-Reply-To: <1406696905-25756-6-git-send-email-yamada.m@jp.panasonic.com>
On Wed, Jul 30, 2014 at 02:08:17PM +0900, Masahiro Yamada wrote:
> 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>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20140730/9a40c8e6/attachment.pgp>
next prev parent reply other threads:[~2014-07-30 19:14 UTC|newest]
Thread overview: 45+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-30 5:08 [U-Boot] [PATCH v8 0/13] Kconfig for U-Boot Masahiro Yamada
2014-07-30 5:08 ` [U-Boot] [PATCH v8 01/13] kconfig: import Kconfig files from Linux 3.16-rc7 Masahiro Yamada
2014-07-30 19:14 ` Tom Rini
2014-07-30 5:08 ` [U-Boot] [PATCH v8 02/13] kconfig: add board Kconfig and defconfig files Masahiro Yamada
2014-07-30 19:14 ` Tom Rini
2014-08-06 18:24 ` York Sun
2014-08-07 6:59 ` Masahiro Yamada
2014-08-07 16:49 ` York Sun
2014-07-30 5:08 ` [U-Boot] [PATCH v8 03/13] kconfig: add basic Kconfig files Masahiro Yamada
2014-07-30 19:14 ` Tom Rini
2014-07-30 5:08 ` [U-Boot] [PATCH v8 04/13] include: define CONFIG_SPL and CONFIG_TPL as 1 Masahiro Yamada
2014-07-30 19:14 ` Tom Rini
2014-07-30 5:08 ` [U-Boot] [PATCH v8 05/13] kconfig: switch to Kconfig Masahiro Yamada
2014-07-30 19:14 ` Tom Rini [this message]
2014-07-30 23:05 ` Stephen Warren
2014-07-31 1:56 ` Masahiro Yamada
2014-07-31 2:08 ` Stephen Warren
2014-07-31 20:34 ` Tom Rini
2014-07-31 20:55 ` Stephen Warren
2014-07-31 21:06 ` Jeroen Hofstee
2014-07-30 5:08 ` [U-Boot] [PATCH v8 06/13] Add board MAINTAINERS files Masahiro Yamada
2014-07-30 19:15 ` Tom Rini
2014-07-30 5:08 ` [U-Boot] [PATCH v8 07/13] tools: add genboardscfg.py Masahiro Yamada
2014-07-30 14:07 ` Tom Rini
2014-07-30 15:12 ` Simon Glass
2014-07-30 15:22 ` Tom Rini
2014-07-30 15:38 ` Simon Glass
2014-07-31 2:22 ` Masahiro Yamada
2014-07-31 12:17 ` Tom Rini
2014-07-30 19:15 ` Tom Rini
2014-07-30 5:08 ` [U-Boot] [PATCH v8 08/13] kconfig: remove mkconfig and boards.cfg Masahiro Yamada
2014-07-30 19:15 ` Tom Rini
2014-07-30 5:08 ` [U-Boot] [PATCH v8 09/13] MAKEALL: adjust for Kconfig Masahiro Yamada
2014-07-30 19:15 ` Tom Rini
2014-07-30 5:08 ` [U-Boot] [PATCH v8 10/13] buildman: " Masahiro Yamada
2014-07-30 19:15 ` Tom Rini
2014-07-30 5:08 ` [U-Boot] [PATCH v8 11/13] kconfig: delete redundant CONFIG_${ARCH} definition Masahiro Yamada
2014-07-30 19:15 ` Tom Rini
2014-07-30 5:08 ` [U-Boot] [PATCH v8 12/13] powerpc: remove redundant CPU definition Masahiro Yamada
2014-07-30 5:34 ` Stefan Roese
2014-07-30 19:15 ` Tom Rini
2014-07-30 5:08 ` [U-Boot] [PATCH v8 13/13] include: remove CONFIG_SPL/CONFIG_TPL definition in config headers Masahiro Yamada
2014-07-30 19:15 ` Tom Rini
2014-07-30 19:16 ` [U-Boot] [PATCH v8 0/13] Kconfig for U-Boot Tom Rini
2014-07-31 22:19 ` Simon Glass
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20140730191449.GI19374@bill-the-cat \
--to=trini@ti.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox