[U-Boot] [U-Boot, v2] kconfig: add sanity checks for SPL configuration

Tom Rini trini at ti.com
Wed Sep 17 02:47:16 CEST 2014


On Wed, Sep 10, 2014 at 06:13:10PM +0900, Masahiro Yamada wrote:

> For the SPL configuration, "make <dir>/<target>" is used.
> Here,
>   <dir> is either "spl" or "tpl"
>   <target> is one of "config", "menuconfig", "xconfig", etc.
> 
> This commit adds two checks:
> 
> [1] If <dir> is given an unsupported subimage, the configuration
>     should error out like this:
> 
>   $ make qpl/menuconfig
>   ***
>   *** "make qpl/menuconfig" is not supported.
>   ***
> 
> [2] Make sure that "CONFIG_SPL" is enabled in the ".config" before
>     running "make spl/menuconfig.  Otherwise, the SPL image
>     is not built at all.  Having "spl/.config" makes no sense.
>     In such a case, the configuration should exit with a message:
> 
>   $ make spl/menuconfig
>   ***
>   *** Create ".config" with "CONFIG_SPL" enabled
>   *** before "make spl/menuconfig".
>   ***
> 
> Signed-off-by: Masahiro Yamada <yamada.m at jp.panasonic.com>
> Suggested-by: Simon Glass <sjg at 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/20140916/e3eeccaa/attachment.pgp>


More information about the U-Boot mailing list