summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNico Huber <nico.h@gmx.de>2019-04-06 16:05:58 +0200
committerNico Huber <nico.h@gmx.de>2019-04-08 19:01:40 +0000
commit44ad93e97087d73f4680184e9b2548061beaf915 (patch)
tree453f29fe985d3be3d5e216d620772d7ae501c78e
parent8c11d05a3e0c2a8241c530e49b90c1e80f949ce3 (diff)
downloadcoreboot-44ad93e97087d73f4680184e9b2548061beaf915.tar.xz
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>
-rw-r--r--Documentation/getting_started/kconfig.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/getting_started/kconfig.md b/Documentation/getting_started/kconfig.md
index 7b436ce80a..249fd4600e 100644
--- a/Documentation/getting_started/kconfig.md
+++ b/Documentation/getting_started/kconfig.md
@@ -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).