scripts : config : Added example use when run without argument,extend help
PATCH 1/1 scripts : config : Added example use when run without argument,extend help
This patch extends the help section by adding an explicit example of use.
--- scripts/config | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+)
scripts/config +19 -0
@@ -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
Signature · 1 line
2.26.2
Hi,
Please be more careful. There are many errors here. (see below)
Quoted 12 lines · Bhaskar Chowdhury
This patch extends the help section by adding an explicit example of use.
Signed-off-by Bhaskar Chowdhury <[email protected]>--- scripts/config | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+)scripts/config +0
-0
scripts/config make time. · line 48
Quoted 4 lines
scripts/config +1
-0@@ -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
concrete config, like
scripts/config make time. · line 49
Quoted 1 line
scripts/config +1
-0+GKOV for profiling , you can simply use this command
GCOV
scripts/config make time. · line 51
Quoted 2 lines
scripts/config +2
-0+ +To enable :
enable:
scripts/config make time. · line 53
Quoted 2 lines
scripts/config +2
-0+ +#scripts/config --enable GKOV_KERNEL && grep GKOV .config
GCOV_KERNEL GCOV
scripts/config make time. · line 55
Quoted 2 lines
scripts/config +2
-0+ + and the output will be like this :
this:
scripts/config make time. · line 57
Quoted 2 lines
scripts/config +2
-0+ + CONFIG_GKOV_KERNEL=y
GCOV
scripts/config make time. · line 59
Quoted 2 lines
scripts/config +2
-0+ +To disable :
disable:
scripts/config make time. · line 61
Quoted 2 lines
scripts/config +2
-0+ +#scripts/config --disable GKOV_KERNEL && grep GKOV .config
GCOV GCOV
scripts/config make time. · line 63
Quoted 2 lines
scripts/config +2
-0+ + and the output will be like this :
this:
scripts/config make time. · line 65
Quoted 2 lines
scripts/config +2
-0+ +# CONFIG_GKOV_KERNEL is not set
GCOV
Quoted 5 lines
scripts/config +1
-0+ $myname uses 'CONFIG_' as the default symbol prefix. Set the environment variable CONFIG_ to the prefix to use. Eg.: CONFIG_="FOO_" $myname ... EOL
Signature · 1 line
~Randy
Quoted 3 lines · Randy Dunlap
Hi,
Please be more careful. There are many errors here. (see below)
Silly me! thanks Randy :)
~Bhaskar
Quoted 75 lines · Bhaskar Chowdhury
Quoted 12 lines
This patch extends the help section by adding an explicit example of use.
Signed-off-by Bhaskar Chowdhury <[email protected]>--- scripts/config | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+)scripts/config +0
-0scripts/config make time. · line 48
Quoted 4 lines
scripts/config +1
-0@@ -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 ,likeconcrete config, like
scripts/config make time. · line 49
Quoted 1 line
scripts/config +1
-0+GKOV for profiling , you can simply use this commandGCOV
scripts/config make time. · line 51
Quoted 2 lines
scripts/config +2
-0+ +To enable :enable:
scripts/config make time. · line 53
Quoted 2 lines
scripts/config +2
-0+ +#scripts/config --enable GKOV_KERNEL && grep GKOV .config
GCOV_KERNELGCOVscripts/config make time. · line 55
Quoted 2 lines
scripts/config +2
-0+ + and the output will be like this :this:
scripts/config make time. · line 57
Quoted 2 lines
scripts/config +2
-0+ + CONFIG_GKOV_KERNEL=yGCOV
scripts/config make time. · line 59
Quoted 2 lines
scripts/config +2
-0+ +To disable :disable:
scripts/config make time. · line 61
Quoted 2 lines
scripts/config +2
-0+ +#scripts/config --disable GKOV_KERNEL && grep GKOV .configGCOV GCOV
scripts/config make time. · line 63
Quoted 2 lines
scripts/config +2
-0+ + and the output will be like this :this:
scripts/config make time. · line 65
Quoted 2 lines
scripts/config +2
-0+ +# CONFIG_GKOV_KERNEL is not setGCOV
Quoted 5 lines
scripts/config +1
-0+ $myname uses 'CONFIG_' as the default symbol prefix. Set the environment variable CONFIG_ to the prefix to use. Eg.: CONFIG_="FOO_" $myname ... EOLSignature · 1 line
~Randy