Linux kbuild/kconfig development
 help / color / mirror / Atom feed
* [PATCH] scripts : config : Added example use when run without argument,extend help
@ 2020-09-10 11:07 Bhaskar Chowdhury
  2020-09-10 22:52 ` Randy Dunlap
  0 siblings, 1 reply; 3+ messages in thread
From: Bhaskar Chowdhury @ 2020-09-10 11:07 UTC (permalink / raw)
  To: masahiroy; +Cc: jeremie.francois, linux-kernel, linux-kbuild, Bhaskar Chowdhury

This patch extends the help section by adding an explicit example of use.

Signed-off-by: Bhaskar Chowdhury <unixbhaskar@gmail.com>
---
 scripts/config | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/scripts/config b/scripts/config
index eee5b7f3a092..b75a5aab2453 100755
--- a/scripts/config
+++ b/scripts/config
@@ -45,6 +45,25 @@ make time.
 By default, $myname will upper-case the given symbol. Use --keep-case to keep
 the case of all following symbols unchanged.
 
+The concerete example, say, you want to change any particular config ,like
+GKOV for profiling , you can simply use this command
+
+To enable :
+
+#scripts/config --enable GKOV_KERNEL  && grep GKOV .config
+
+ and the output will be like this :
+
+  CONFIG_GKOV_KERNEL=y
+
+To disable :
+
+#scripts/config --disable GKOV_KERNEL  && grep GKOV .config
+
+  and the output will be like this :
+
+# CONFIG_GKOV_KERNEL is not set
+
 $myname uses 'CONFIG_' as the default symbol prefix. Set the environment
 variable CONFIG_ to the prefix to use. Eg.: CONFIG_="FOO_" $myname ...
 EOL
-- 
2.26.2


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

end of thread, other threads:[~2020-09-10 22:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-09-10 11:07 [PATCH] scripts : config : Added example use when run without argument,extend help Bhaskar Chowdhury
2020-09-10 22:52 ` Randy Dunlap
2020-09-10 22:59   ` Bhaskar Chowdhury

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