Patchwork [2,of,2] docs/help: rename defconfig/olddefconfig into savedefconfig/defconfig

login
register
mail settings
Submitter Thomas De Schampheleire
Date July 17, 2013, 6:25 a.m.
Message ID <0c1dff89c9ee1672693f.1374042343@BEANTN0L019720>
Download mbox | patch
Permalink /patch/259601/
State Accepted
Commit dcdc595a23c8
Headers show

Comments

Thomas De Schampheleire - July 17, 2013, 6:25 a.m.
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>

---
 docs/ct-ng.1.in    |  14 +++++++-------
 kconfig/kconfig.mk |   4 ++--
 2 files changed, 9 insertions(+), 9 deletions(-)


--
For unsubscribe information see http://sourceware.org/lists.html#faq
Yann E. MORIN - July 24, 2013, 5:02 p.m.
Thomas, All,

Your patch:
    docs/help: rename defconfig/olddefconfig into

has been applied as: #dcdc595a23c8
    http://crosstool-ng.org/hg/crosstool-ng/rev/dcdc595a23c8

Thank you!

Regards,
Yann E. MORIN.



--
For unsubscribe information see http://sourceware.org/lists.html#faq
Yann E. MORIN - July 24, 2013, 5:03 p.m.
Thomas, All,

On 2013-07-17 08:25 +0200, Thomas De Schampheleire spake thusly:
> 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.

In fact, I renamed the variable from 'CONFIG' to 'DEFCONFIG', it makes
more sense.

Thank you!

Regards,
Yann E. MORIN.

> Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
> 
> ---
>  docs/ct-ng.1.in    |  14 +++++++-------
>  kconfig/kconfig.mk |   4 ++--
>  2 files changed, 9 insertions(+), 9 deletions(-)
> 
> diff --git a/docs/ct-ng.1.in b/docs/ct-ng.1.in
> --- a/docs/ct-ng.1.in
> +++ b/docs/ct-ng.1.in
> @@ -60,7 +60,7 @@ Samples can be later recalled by calling
>  with the target tuple they represent.
>  ."
>  .TP
> -.B defconfig
> +.B savedefconfig
>  Save the current configuration to a mini-defconfig file, that contains only
>  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
> @@ -71,10 +71,10 @@ versions of
>  By default the mini-defconfig is saved to a file named
>  .IR defconfig ,
>  unless the variable
> -.B $DEFCONFIG
> +.B $CONFIG
>  is set, in which case the mini-defconfig will be saved to the file referenced
>  by
> -.BR $DEFCONFIG .
> +.BR $CONFIG .
>  
>  Note: only the
>  .I .config
> @@ -87,18 +87,18 @@ saved. Use
>  for that
>  ."
>  .TP
> -.B olddefconfig
> +.B defconfig
>  Configure
>  .B crosstool-NG
>  using a mini-defconfig file (previously saved with
> -.B defconfig
> +.B savedefconfig
>  or manually edited). The default mini-defconfig is read from the file
>  .IR defconfig ,
>  unless the variable
> -.B $DEFCONFIG
> +.B $CONFIG
>  is set, in which case the mini-defconfig will be read from the file referenced
>  by
> -.B $DEFCONFIG
> +.B $CONFIG
>  ."
>  .TP
>  .B build
> diff --git a/kconfig/kconfig.mk b/kconfig/kconfig.mk
> --- a/kconfig/kconfig.mk
> +++ b/kconfig/kconfig.mk
> @@ -58,6 +58,6 @@ help-config::
>  	@echo  '  oldconfig          - Update current config using a provided .config as base'
>  	@echo  '  extractconfig      - Extract to stdout the configuration items from a'
>  	@echo  '                       build.log file piped to stdin'
> -	@echo  '  defconfig          - Save current config as a mini-defconfig to $${CONFIG}'
> -	@echo  '  olddefconfig       - Update config from a mini-defconfig $${CONFIG}'
> +	@echo  '  savedefconfig      - Save current config as a mini-defconfig to $${CONFIG}'
> +	@echo  '  defconfig          - Update config from a mini-defconfig $${CONFIG}'
>  	@echo  '                       (default: $${CONFIG}=./defconfig)'
Thomas De Schampheleire - July 24, 2013, 5:12 p.m.
On Wed, Jul 24, 2013 at 7:03 PM, Yann E. MORIN <yann.morin.1998@free.fr> wrote:
> Thomas, All,
>
> On 2013-07-17 08:25 +0200, Thomas De Schampheleire spake thusly:
>> 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.
>
> In fact, I renamed the variable from 'CONFIG' to 'DEFCONFIG', it makes
> more sense.
>

Ok, even better.

Thanks!
Thomas

--
For unsubscribe information see http://sourceware.org/lists.html#faq

Patch

diff --git a/docs/ct-ng.1.in b/docs/ct-ng.1.in
--- a/docs/ct-ng.1.in
+++ b/docs/ct-ng.1.in
@@ -60,7 +60,7 @@  Samples can be later recalled by calling
 with the target tuple they represent.
 ."
 .TP
-.B defconfig
+.B savedefconfig
 Save the current configuration to a mini-defconfig file, that contains only
 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
@@ -71,10 +71,10 @@  versions of
 By default the mini-defconfig is saved to a file named
 .IR defconfig ,
 unless the variable
-.B $DEFCONFIG
+.B $CONFIG
 is set, in which case the mini-defconfig will be saved to the file referenced
 by
-.BR $DEFCONFIG .
+.BR $CONFIG .
 
 Note: only the
 .I .config
@@ -87,18 +87,18 @@  saved. Use
 for that
 ."
 .TP
-.B olddefconfig
+.B defconfig
 Configure
 .B crosstool-NG
 using a mini-defconfig file (previously saved with
-.B defconfig
+.B savedefconfig
 or manually edited). The default mini-defconfig is read from the file
 .IR defconfig ,
 unless the variable
-.B $DEFCONFIG
+.B $CONFIG
 is set, in which case the mini-defconfig will be read from the file referenced
 by
-.B $DEFCONFIG
+.B $CONFIG
 ."
 .TP
 .B build
diff --git a/kconfig/kconfig.mk b/kconfig/kconfig.mk
--- a/kconfig/kconfig.mk
+++ b/kconfig/kconfig.mk
@@ -58,6 +58,6 @@  help-config::
 	@echo  '  oldconfig          - Update current config using a provided .config as base'
 	@echo  '  extractconfig      - Extract to stdout the configuration items from a'
 	@echo  '                       build.log file piped to stdin'
-	@echo  '  defconfig          - Save current config as a mini-defconfig to $${CONFIG}'
-	@echo  '  olddefconfig       - Update config from a mini-defconfig $${CONFIG}'
+	@echo  '  savedefconfig      - Save current config as a mini-defconfig to $${CONFIG}'
+	@echo  '  defconfig          - Update config from a mini-defconfig $${CONFIG}'
 	@echo  '                       (default: $${CONFIG}=./defconfig)'