From 44ad93e97087d73f4680184e9b2548061beaf915 Mon Sep 17 00:00:00 2001 From: Nico Huber Date: Sat, 6 Apr 2019 16:05:58 +0200 Subject: Docs/kconfig: Update to use CONFIG() MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Ica7b601d1c9c3bcf39b8b805d48e969f8a944927 Signed-off-by: Nico Huber Reviewed-on: https://review.coreboot.org/c/coreboot/+/32228 Tested-by: build bot (Jenkins) Reviewed-by: HAOUAS Elyes Reviewed-by: Kyösti Mälkki --- Documentation/getting_started/kconfig.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Documentation/getting_started') 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). -- cgit v1.2.3