kconfig: rename the defconfig and olddefconfig targets
author"Yann E. MORIN" <yann.morin.1998@free.fr>
Tue Jan 22 00:34:15 2013 +0100 (2013-01-22)
changeset 316715f57d843296
parent 3166 09c2753d46ca
child 3168 9b991363c01c
kconfig: rename the defconfig and olddefconfig targets

What 'defconfig' really does is save the current .config to a defconfig,
so it is better named 'savedefconfig' (as other projects do).

What 'olddefconfig' really does is create a .config from a defconfig,
so rename it to 'defconfig' (as other projects do, too).

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
ct-ng.comp
kconfig/kconfig.mk
     1.1 --- a/ct-ng.comp	Fri Jan 18 15:15:13 2013 +0100
     1.2 +++ b/ct-ng.comp	Tue Jan 22 00:34:15 2013 +0100
     1.3 @@ -15,7 +15,7 @@
     1.4      stop_steps=$(echo "${steps}" |sed -r -e 's/(^| )/+\1/;')
     1.5  
     1.6      actions='help menuconfig oldconfig saveconfig extractconfig
     1.7 -             defconfig olddefconfig
     1.8 +             defconfig savedefconfig
     1.9               build build. build-all build-all.
    1.10               wiki-samples list-samples list-samples-short list-steps
    1.11               show-tuple show-all show-config
     2.1 --- a/kconfig/kconfig.mk	Fri Jan 18 15:15:13 2013 +0100
     2.2 +++ b/kconfig/kconfig.mk	Tue Jan 22 00:34:15 2013 +0100
     2.3 @@ -5,7 +5,7 @@
     2.4  #-----------------------------------------------------------
     2.5  # The configurators rules
     2.6  
     2.7 -configurators = menuconfig nconfig oldconfig defconfig olddefconfig
     2.8 +configurators = menuconfig nconfig oldconfig savedefconfig defconfig
     2.9  PHONY += $(configurators)
    2.10  
    2.11  $(configurators): config_files
    2.12 @@ -27,11 +27,11 @@
    2.13  	@$(ECHO) "  CONF  $(KCONFIG_TOP)"
    2.14  	$(SILENT)$(CONF) --silent$@ $(KCONFIG_TOP)
    2.15  
    2.16 -defconfig: .config
    2.17 +savedefconfig: .config
    2.18  	@$(ECHO) '  GEN   $@'
    2.19  	$(SILENT)$(CONF) --savedefconfig=$${CONFIG-defconfig} $(KCONFIG_TOP)
    2.20  
    2.21 -olddefconfig:
    2.22 +defconfig:
    2.23  	@$(ECHO) '  CONF  $@'
    2.24  	$(SILENT)$(CONF) --defconfig=$${CONFIG-defconfig} $(KCONFIG_TOP)
    2.25