From: Tom Rini Date: Tue, 16 Sep 2014 20:47:16 -0400 Subject: [U-Boot] [U-Boot, v2] kconfig: add sanity checks for SPL configuration In-Reply-To: <1410340390-3340-1-git-send-email-yamada.m@jp.panasonic.com> References: <1410340390-3340-1-git-send-email-yamada.m@jp.panasonic.com> Message-ID: <20140917004716.GN25506@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Wed, Sep 10, 2014 at 06:13:10PM +0900, Masahiro Yamada wrote: > For the SPL configuration, "make /" is used. > Here, > is either "spl" or "tpl" > is one of "config", "menuconfig", "xconfig", etc. > > This commit adds two checks: > > [1] If 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 > Suggested-by: Simon Glass 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: