[U-Boot] [PATCH v3] SPL: Makefile: Build a separate autoconf.mk for SPL
Zhang Ying-B40530
B40530 at freescale.com
Fri Aug 16 05:13:36 CEST 2013
Need I resend a patch?
-----Original Message-----
From: sun york-R58495
Sent: Friday, August 16, 2013 1:27 AM
To: Zhang Ying-B40530
Cc: u-boot at lists.denx.de; Wood Scott-B07421; Xie Xiaobo-R63061
Subject: Re: [PATCH v3] SPL: Makefile: Build a separate autoconf.mk for SPL
On 08/13/2013 11:01 PM, ying.zhang at freescale.com wrote:
> From: Zhang Ying <rock.ap.freescale.net>
>
> 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: Zhang Ying <rock.ap.freescale.net>
>
Please use a valid email address to sign off.
York
More information about the U-Boot
mailing list