mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-08 10:39:08 +00:00
include: Use CONFIG_XPL_BUILD instead of CONFIG_SPL_BUILD
Use the new symbol to refer to any 'SPL' build, including TPL and VPL Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
371dc068bb
commit
f38956a687
79 changed files with 125 additions and 125 deletions
|
@ -40,7 +40,7 @@
|
|||
#define _CONFIG_PREFIX TPL_
|
||||
#elif defined(CONFIG_VPL_BUILD)
|
||||
#define _CONFIG_PREFIX VPL_
|
||||
#elif defined(CONFIG_SPL_BUILD)
|
||||
#elif defined(CONFIG_XPL_BUILD)
|
||||
#define _CONFIG_PREFIX SPL_
|
||||
#else
|
||||
#define _CONFIG_PREFIX
|
||||
|
@ -53,8 +53,8 @@
|
|||
/*
|
||||
* CONFIG_VAL(FOO) evaluates to the value of
|
||||
* CONFIG_TOOLS_FOO if USE_HOSTCC is defined,
|
||||
* CONFIG_FOO if CONFIG_SPL_BUILD is undefined,
|
||||
* CONFIG_SPL_FOO if CONFIG_SPL_BUILD is defined.
|
||||
* CONFIG_FOO if CONFIG_XPL_BUILD is undefined,
|
||||
* CONFIG_SPL_FOO if CONFIG_XPL_BUILD is defined.
|
||||
* CONFIG_TPL_FOO if CONFIG_TPL_BUILD is defined.
|
||||
* CONFIG_VPL_FOO if CONFIG_VPL_BUILD is defined.
|
||||
*/
|
||||
|
@ -106,22 +106,22 @@ long invalid_use_of_IF_ENABLED_INT(void);
|
|||
/*
|
||||
* CONFIG_IS_ENABLED(FOO) expands to
|
||||
* 1 if USE_HOSTCC is defined and CONFIG_TOOLS_FOO is set to 'y',
|
||||
* 1 if CONFIG_SPL_BUILD is undefined and CONFIG_FOO is set to 'y',
|
||||
* 1 if CONFIG_SPL_BUILD is defined and CONFIG_SPL_FOO is set to 'y',
|
||||
* 1 if CONFIG_XPL_BUILD is undefined and CONFIG_FOO is set to 'y',
|
||||
* 1 if CONFIG_XPL_BUILD is defined and CONFIG_SPL_FOO is set to 'y',
|
||||
* 1 if CONFIG_TPL_BUILD is defined and CONFIG_TPL_FOO is set to 'y',
|
||||
* 0 otherwise.
|
||||
*
|
||||
* CONFIG_IS_ENABLED(FOO, (abc)) expands to
|
||||
* abc if USE_HOSTCC is defined and CONFIG_TOOLS_FOO is set to 'y',
|
||||
* abc if CONFIG_SPL_BUILD is undefined and CONFIG_FOO is set to 'y',
|
||||
* abc if CONFIG_SPL_BUILD is defined and CONFIG_SPL_FOO is set to 'y',
|
||||
* abc if CONFIG_XPL_BUILD is undefined and CONFIG_FOO is set to 'y',
|
||||
* abc if CONFIG_XPL_BUILD is defined and CONFIG_SPL_FOO is set to 'y',
|
||||
* abc if CONFIG_TPL_BUILD is defined and CONFIG_TPL_FOO is set to 'y',
|
||||
* nothing otherwise.
|
||||
*
|
||||
* CONFIG_IS_ENABLED(FOO, (abc), (def)) expands to
|
||||
* abc if USE_HOSTCC is defined and CONFIG_TOOLS_FOO is set to 'y',
|
||||
* abc if CONFIG_SPL_BUILD is undefined and CONFIG_FOO is set to 'y',
|
||||
* abc if CONFIG_SPL_BUILD is defined and CONFIG_SPL_FOO is set to 'y',
|
||||
* abc if CONFIG_XPL_BUILD is undefined and CONFIG_FOO is set to 'y',
|
||||
* abc if CONFIG_XPL_BUILD is defined and CONFIG_SPL_FOO is set to 'y',
|
||||
* abc if CONFIG_TPL_BUILD is defined and CONFIG_TPL_FOO is set to 'y',
|
||||
* def otherwise.
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue