docs/help: rename defconfig/olddefconfig into

After commit 15f57d843296e244487ac0845a73247f9d6749b8, the defconfig target
has been renamed into savedefconfig, and olddefconfig into defconfig. However,
the help text and man page was not updated.

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
[yann.morin.1998@free.fr: rename CONFIG -> DEFCONFIG]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Message-Id: <0c1dff89c9ee1672693f.1374042343@BEANTN0L019720>
Patchwork-Id: 259601
This commit is contained in:
Thomas De Schampheleire 2013-07-17 08:25:43 +02:00
parent 6c2c252dc8
commit 2aa92300fd
2 changed files with 8 additions and 8 deletions

View File

@ -60,7 +60,7 @@ Samples can be later recalled by calling
with the target tuple they represent. with the target tuple they represent.
." ."
.TP .TP
.B defconfig .B savedefconfig
Save the current configuration to a mini-defconfig file, that contains only Save the current configuration to a mini-defconfig file, that contains only
the strictly required symbols to reproduce the configuration. defconfig files the strictly required symbols to reproduce the configuration. defconfig files
are much smaller than a complete .config, so it is easy to send by mail. As are much smaller than a complete .config, so it is easy to send by mail. As
@ -87,11 +87,11 @@ saved. Use
for that for that
." ."
.TP .TP
.B olddefconfig .B defconfig
Configure Configure
.B crosstool-NG .B crosstool-NG
using a mini-defconfig file (previously saved with using a mini-defconfig file (previously saved with
.B defconfig .B savedefconfig
or manually edited). The default mini-defconfig is read from the file or manually edited). The default mini-defconfig is read from the file
.IR defconfig , .IR defconfig ,
unless the variable unless the variable

View File

@ -29,11 +29,11 @@ oldconfig: .config
savedefconfig: .config savedefconfig: .config
@$(ECHO) ' GEN $@' @$(ECHO) ' GEN $@'
$(SILENT)$(CONF) --savedefconfig=$${CONFIG-defconfig} $(KCONFIG_TOP) $(SILENT)$(CONF) --savedefconfig=$${DEFCONFIG-defconfig} $(KCONFIG_TOP)
defconfig: defconfig:
@$(ECHO) ' CONF $@' @$(ECHO) ' CONF $@'
$(SILENT)$(CONF) --defconfig=$${CONFIG-defconfig} $(KCONFIG_TOP) $(SILENT)$(CONF) --defconfig=$${DEFCONFIG-defconfig} $(KCONFIG_TOP)
# Always be silent, the stdout an be >.config # Always be silent, the stdout an be >.config
extractconfig: extractconfig:
@ -58,6 +58,6 @@ help-config::
@echo ' oldconfig - Update current config using a provided .config as base' @echo ' oldconfig - Update current config using a provided .config as base'
@echo ' extractconfig - Extract to stdout the configuration items from a' @echo ' extractconfig - Extract to stdout the configuration items from a'
@echo ' build.log file piped to stdin' @echo ' build.log file piped to stdin'
@echo ' defconfig - Save current config as a mini-defconfig to $${CONFIG}' @echo ' savedefconfig - Save current config as a mini-defconfig to $${DEFCONFIG}'
@echo ' olddefconfig - Update config from a mini-defconfig $${CONFIG}' @echo ' defconfig - Update config from a mini-defconfig $${DEFCONFIG}'
@echo ' (default: $${CONFIG}=./defconfig)' @echo ' (default: $${DEFCONFIG}=./defconfig)'