[U-Boot] [PATCH 04/11] kconfig: add basic Kconfig files

Masahiro Yamada yamada.m at jp.panasonic.com
Wed Apr 30 06:22:03 CEST 2014


Hi Simon,

> > +
> > +config SPL_BUILD
> > +       bool
> > +       depends on BUILD_MODE="SPL" || BUILD_MODE="TPL"
> 
> What is the TPL term for?

Please note that both CONFIG_SPL_BUILD and CONFIG_TPL_BUILD
must be defined during the build of TPL image.

To sum up in a matrix, the definition of the these macros is like this:

                            CONFIG_SPL_BUILD    CONFIG_TPL_BUILD
non-SPL build:              undefined                  undefined
SPL build                      defined                      undefined
TPL build                      defined                      defined


Maybe do you think it looks weird? ( Me too.)
But the implementation has been like this
since TPL infrastructure was introduced by commit 3aa29de.

Defining only CONFIG_TPL_BUILD does not work.

Best Regards
Masahiro Yamada



More information about the U-Boot mailing list