The old meaning of the SPL_BUILD symbol has been transfered to a new XPL_BUILD symbol, leaving the SPL_BUILD symbol only to be defined for SPL builds, and not all xPL builds.
Change to only use the SPL_BUILD symbol in the SPL code example to cleanup from an old SPL to XPL symbol rename. Signed-off-by: Jonas Karlman <[email protected]> --- include/spl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/spl.h b/include/spl.h index 5078d7525abb..45dd44e03d13 100644 --- a/include/spl.h +++ b/include/spl.h @@ -93,7 +93,7 @@ enum xpl_phase_t { * * To include code only in SPL, you might do: * - * #if defined(CONFIG_XPL_BUILD) && !defined(CONFIG_TPL_BUILD) + * #ifdef CONFIG_SPL_BUILD * ... * #endif * -- 2.54.0

