Docs/kconfig: Update to use CONFIG()
Change-Id: Ica7b601d1c9c3bcf39b8b805d48e969f8a944927 Signed-off-by: Nico Huber <nico.h@gmx.de> Reviewed-on: https://review.coreboot.org/c/coreboot/+/32228 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr> Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
This commit is contained in:
@@ -1132,7 +1132,7 @@ the symbol is only inside of an if/endif block where the if expression evaluates
|
||||
as false, the symbol STILL gets defined in the config.h file (though not in the
|
||||
.config file).
|
||||
|
||||
Use \#if IS_ENABLED(CONFIG_*) to be sure (it returns false for undefined symbols
|
||||
Use \#if CONFIG(SYMBOL) to be sure (it returns false for undefined symbols
|
||||
and defined-to-0 symbols alike).
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user