From: Tom Rini <trini@ti.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v5] SPL: Makefile: Build a separate autoconf.mk for SPL
Date: Tue, 20 Aug 2013 09:02:22 -0400 [thread overview]
Message-ID: <20130820130222.GE17559@bill-the-cat> (raw)
In-Reply-To: <1376900054-29070-1-git-send-email-ying.zhang@freescale.com>
On Mon, Aug 19, 2013 at 04:14:14PM +0800, ying.zhang at freescale.com wrote:
> From: Ying Zhang <b40530@freescale.com>
>
> SPL defines CONFIG_SPL_BUILD but this does not percolate to the
> autoconf.mk Makefile. As a result the build breaks when
> CONFIG_SPL_BUILD is used in the board-specific include header file.
> With this, there is a possibility of having a CONFIG option defined in
> the header file but not defined in the Makefile causing all kinds of
> build failure and problems.
>
> It also messes things for up, for example, when one might want to
> undefine options to keep the SPL small and doesn't want to be stuck
> with the CONFIG options used for U-boot. Lastly, this also avoids
> defining special CONFIG_SPL_ variables for cases where some options
> are required in U-boot but not in SPL.
>
> We add a spl-autoconf.mk rule that is generated for SPL with the
> CONFIG_SPL_BUILD flag and conditionally include it for SPL builds.
>
> Signed-off-by: Joel A Fernandes <joelagnel@ti.com>
> Signed-off-by: Ying Zhang <b40530@freescale.com>
After fixing up the author and changing Joel's email to his current one,
applied to u-boot/master (and boot tested on am335x_evm_usbspl), 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/20130820/5b32aa54/attachment.pgp>
prev parent reply other threads:[~2013-08-20 13:02 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-08-19 8:14 [U-Boot] [PATCH v5] SPL: Makefile: Build a separate autoconf.mk for SPL ying.zhang at freescale.com
2013-08-19 19:47 ` Scott Wood
2013-08-19 19:54 ` Tom Rini
2013-08-19 21:20 ` York Sun
2013-08-19 22:04 ` Tom Rini
2013-08-19 22:07 ` York Sun
2013-08-20 12:59 ` Tom Rini
2013-08-20 3:15 ` Zhang Ying-B40530
2013-08-20 13:02 ` Tom Rini [this message]
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=20130820130222.GE17559@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