diff options
author | Marc Herbert <marc.herbert@intel.com> | 2018-01-26 17:59:00 -0500 |
---|---|---|
committer | Masahiro Yamada <yamada.masahiro@socionext.com> | 2018-01-27 15:48:31 -0500 |
commit | cedd55d49dee941d0e4fabb2f2f555d50c53fad7 (patch) | |
tree | 580025188cf3888f63e919f541012dd9a68e1342 | |
parent | 1ccb27143360bd2390a9a970e50709f858b53761 (diff) |
kconfig: Remove silentoldconfig from help and docs; fix kconfig/conf's help
As explained by Michal Marek at https://lkml.org/lkml/2011/8/31/189
silentoldconfig has become a misnomer. It has become an internal interface
so remove it from "make help" and Documentation/ to stop confusing people
using it as seen for instance at
https://chromium-review.googlesource.com/835632 Don't remove it from
kconfig/Makefile yet not to break any (other) tool using it.
On the other hand, correct and expand its description in the help of
the (internal) scripts/kconfig/conf.c
Signed-off-by: Marc Herbert <marc.herbert@intel.com>
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
-rw-r--r-- | Documentation/admin-guide/README.rst | 5 | ||||
-rw-r--r-- | scripts/kconfig/Makefile | 7 | ||||
-rw-r--r-- | scripts/kconfig/conf.c | 5 |
3 files changed, 7 insertions, 10 deletions
diff --git a/Documentation/admin-guide/README.rst b/Documentation/admin-guide/README.rst index 63066db39910..af5a437198d0 100644 --- a/Documentation/admin-guide/README.rst +++ b/Documentation/admin-guide/README.rst | |||
@@ -170,11 +170,6 @@ Configuring the kernel | |||
170 | your existing ./.config file and asking about | 170 | your existing ./.config file and asking about |
171 | new config symbols. | 171 | new config symbols. |
172 | 172 | ||
173 | "make silentoldconfig" | ||
174 | Like above, but avoids cluttering the screen | ||
175 | with questions already answered. | ||
176 | Additionally updates the dependencies. | ||
177 | |||
178 | "make olddefconfig" | 173 | "make olddefconfig" |
179 | Like above, but sets new symbols to their default | 174 | Like above, but sets new symbols to their default |
180 | values without prompting. | 175 | values without prompting. |
diff --git a/scripts/kconfig/Makefile b/scripts/kconfig/Makefile index a5ab2f7909de..cb3ec53a7c29 100644 --- a/scripts/kconfig/Makefile +++ b/scripts/kconfig/Makefile | |||
@@ -34,6 +34,8 @@ config: $(obj)/conf | |||
34 | nconfig: $(obj)/nconf | 34 | nconfig: $(obj)/nconf |
35 | $< $(silent) $(Kconfig) | 35 | $< $(silent) $(Kconfig) |
36 | 36 | ||
37 | # This has become an internal implementation detail and is now deprecated | ||
38 | # for external use. | ||
37 | silentoldconfig: $(obj)/conf | 39 | silentoldconfig: $(obj)/conf |
38 | $(Q)mkdir -p include/config include/generated | 40 | $(Q)mkdir -p include/config include/generated |
39 | $(Q)test -e include/generated/autoksyms.h || \ | 41 | $(Q)test -e include/generated/autoksyms.h || \ |
@@ -144,7 +146,6 @@ help: | |||
144 | @echo ' oldconfig - Update current config utilising a provided .config as base' | 146 | @echo ' oldconfig - Update current config utilising a provided .config as base' |
145 | @echo ' localmodconfig - Update current config disabling modules not loaded' | 147 | @echo ' localmodconfig - Update current config disabling modules not loaded' |
146 | @echo ' localyesconfig - Update current config converting local mods to core' | 148 | @echo ' localyesconfig - Update current config converting local mods to core' |
147 | @echo ' silentoldconfig - Same as oldconfig, but quietly, additionally update deps' | ||
148 | @echo ' defconfig - New config with default from ARCH supplied defconfig' | 149 | @echo ' defconfig - New config with default from ARCH supplied defconfig' |
149 | @echo ' savedefconfig - Save current config as ./defconfig (minimal config)' | 150 | @echo ' savedefconfig - Save current config as ./defconfig (minimal config)' |
150 | @echo ' allnoconfig - New config where all options are answered with no' | 151 | @echo ' allnoconfig - New config where all options are answered with no' |
@@ -153,8 +154,8 @@ help: | |||
153 | @echo ' alldefconfig - New config with all symbols set to default' | 154 | @echo ' alldefconfig - New config with all symbols set to default' |
154 | @echo ' randconfig - New config with random answer to all options' | 155 | @echo ' randconfig - New config with random answer to all options' |
155 | @echo ' listnewconfig - List new options' | 156 | @echo ' listnewconfig - List new options' |
156 | @echo ' olddefconfig - Same as silentoldconfig but sets new symbols to their' | 157 | @echo ' olddefconfig - Same as oldconfig but sets new symbols to their' |
157 | @echo ' default value' | 158 | @echo ' default value without prompting' |
158 | @echo ' kvmconfig - Enable additional options for kvm guest kernel support' | 159 | @echo ' kvmconfig - Enable additional options for kvm guest kernel support' |
159 | @echo ' xenconfig - Enable additional options for xen dom0 and guest kernel support' | 160 | @echo ' xenconfig - Enable additional options for xen dom0 and guest kernel support' |
160 | @echo ' tinyconfig - Configure the tiniest possible kernel' | 161 | @echo ' tinyconfig - Configure the tiniest possible kernel' |
diff --git a/scripts/kconfig/conf.c b/scripts/kconfig/conf.c index a8a97efd3dfc..307bc3f7b945 100644 --- a/scripts/kconfig/conf.c +++ b/scripts/kconfig/conf.c | |||
@@ -484,8 +484,9 @@ static void conf_usage(const char *progname) | |||
484 | printf(" --listnewconfig List new options\n"); | 484 | printf(" --listnewconfig List new options\n"); |
485 | printf(" --oldaskconfig Start a new configuration using a line-oriented program\n"); | 485 | printf(" --oldaskconfig Start a new configuration using a line-oriented program\n"); |
486 | printf(" --oldconfig Update a configuration using a provided .config as base\n"); | 486 | printf(" --oldconfig Update a configuration using a provided .config as base\n"); |
487 | printf(" --silentoldconfig Same as oldconfig, but quietly, additionally update deps\n"); | 487 | printf(" --silentoldconfig Similar to oldconfig but generates configuration in\n" |
488 | printf(" --olddefconfig Same as silentoldconfig but sets new symbols to their default value\n"); | 488 | " include/{generated/,config/} (oldconfig used to be more verbose)\n"); |
489 | printf(" --olddefconfig Same as oldconfig but sets new symbols to their default value\n"); | ||
489 | printf(" --oldnoconfig An alias of olddefconfig\n"); | 490 | printf(" --oldnoconfig An alias of olddefconfig\n"); |
490 | printf(" --defconfig <file> New config with default defined in <file>\n"); | 491 | printf(" --defconfig <file> New config with default defined in <file>\n"); |
491 | printf(" --savedefconfig <file> Save the minimal current configuration to <file>\n"); | 492 | printf(" --savedefconfig <file> Save the minimal current configuration to <file>\n"); |