public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] kconfig: add some Kconfig env variables to make help
@ 2024-02-22  3:12 Sergey Senozhatsky
  2024-02-22  3:18 ` Sergey Senozhatsky
  0 siblings, 1 reply; 17+ messages in thread
From: Sergey Senozhatsky @ 2024-02-22  3:12 UTC (permalink / raw)
  To: Masahiro Yamada; +Cc: linux-kbuild, linux-kernel, Sergey Senozhatsky

Add a new section "Configuration environment variables" to
`make help` output in order to make it easier for people to
discover KCONFIG_WERRROR, etc.

Signed-off-by: Sergey Senozhatsky <senozhatsky@chromium.org>
---
 scripts/kconfig/Makefile | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/scripts/kconfig/Makefile b/scripts/kconfig/Makefile
index ea1bf3b3dbde..109e28fd6209 100644
--- a/scripts/kconfig/Makefile
+++ b/scripts/kconfig/Makefile
@@ -158,6 +158,10 @@ help:
 		if help=$$(grep -m1 '^# Help: ' $(f)); then \
 			printf '  %-25s - %s\n' '$(notdir $(f))' "$${help#*: }"; \
 		fi;)
+	@echo  ''
+	@echo  'Configuration environment variables:'
+	@echo  '  KCONFIG_WERROR                 - Turn some Kconfig warnings into error conditions'
+	@echo  '  KCONFIG_WARN_UNKNOWN_SYMBOLS   - Make Kconfing warn about all unrecognized config symbols'
 
 # ===========================================================================
 # object files used by all kconfig flavours
-- 
2.44.0.rc0.258.g7320e95886-goog


^ permalink raw reply related	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2024-03-09 20:25 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-22  3:12 [PATCH] kconfig: add some Kconfig env variables to make help Sergey Senozhatsky
2024-02-22  3:18 ` Sergey Senozhatsky
2024-02-22  3:25   ` [PATCHv2] " Sergey Senozhatsky
2024-02-22  4:57     ` Masahiro Yamada
2024-02-22  5:16       ` Sergey Senozhatsky
2024-02-28  4:56         ` Sergey Senozhatsky
2024-02-29  2:03           ` Masahiro Yamada
2024-02-29  2:10             ` Sergey Senozhatsky
2024-02-29  3:36               ` Masahiro Yamada
2024-02-29  3:47                 ` Sergey Senozhatsky
2024-02-29 15:35                   ` Masahiro Yamada
2024-03-01  4:33                     ` Sergey Senozhatsky
2024-03-01 11:04                       ` Nicolas Schier
2024-03-01 14:28                         ` Sergey Senozhatsky
2024-03-04  6:41                           ` Nicolas Schier
2024-03-05 16:46                             ` Masahiro Yamada
2024-03-09 20:24                               ` Nicolas Schier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox