[U-Boot] [PATCH 4/4] tools: moveconfig: add --spl option to move options for SPL build

Andrew F. Davis afd at ti.com
Mon Aug 22 16:57:40 CEST 2016


On 08/22/2016 09:43 AM, Tom Rini wrote:
> On Mon, Aug 22, 2016 at 10:18:22PM +0900, Masahiro Yamada wrote:
> 
>> Prior to this commit, the tool could not move options guarded by
>> CONFIG_SPL_BUILD ifdef conditionals because they do not show up in
>> include/autoconf.mk.  This new option, if given, makes the tool
>> parse spl/include/autoconf.mk instead of include/autoconf.mk,
>> which is probably preferred behavior when moving options for SPL.
>>
>> Signed-off-by: Masahiro Yamada <yamada.masahiro at socionext.com>
> 
> Reviewed-by: Tom Rini <trini at konsulko.com>
> 

I think we are still missing the case of some option being defined one
way in the SPL build case but another the regular case, which one should
be added to the defconfig?

In a set of slides[0] I found on the subject it looks like there was
going to be a system where we could conditionally define options in
defconfig based on whether we were building SPL or not. So we could run
moveconfig in multiple passes and find what kind of tag we need.

S:CONFIG_FOO=200
T:CONFIG_FOO=300
ST:CONFIG_BAR=y
+S:CONFIG_BAZ=y
+T:CONFIG_QUX=y
+ST:CONFIG_QUUX=y
etc..

Did this ever get implemented?

[0]
http://www.denx.de/wiki/pub/U-Boot/MiniSummitELCE2014/uboot2014_kconfig.pdf



More information about the U-Boot mailing list