# HG changeset patch # User "Yann E. MORIN" # Date 1358811255 -3600 # Node ID 15f57d843296e244487ac0845a73247f9d6749b8 # Parent 09c2753d46cae5482d96f99dc991ca533557d955 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" diff -r 09c2753d46ca -r 15f57d843296 ct-ng.comp --- a/ct-ng.comp Fri Jan 18 15:15:13 2013 +0100 +++ b/ct-ng.comp Tue Jan 22 00:34:15 2013 +0100 @@ -15,7 +15,7 @@ stop_steps=$(echo "${steps}" |sed -r -e 's/(^| )/+\1/;') actions='help menuconfig oldconfig saveconfig extractconfig - defconfig olddefconfig + defconfig savedefconfig build build. build-all build-all. wiki-samples list-samples list-samples-short list-steps show-tuple show-all show-config diff -r 09c2753d46ca -r 15f57d843296 kconfig/kconfig.mk --- a/kconfig/kconfig.mk Fri Jan 18 15:15:13 2013 +0100 +++ b/kconfig/kconfig.mk Tue Jan 22 00:34:15 2013 +0100 @@ -5,7 +5,7 @@ #----------------------------------------------------------- # The configurators rules -configurators = menuconfig nconfig oldconfig defconfig olddefconfig +configurators = menuconfig nconfig oldconfig savedefconfig defconfig PHONY += $(configurators) $(configurators): config_files @@ -27,11 +27,11 @@ @$(ECHO) " CONF $(KCONFIG_TOP)" $(SILENT)$(CONF) --silent$@ $(KCONFIG_TOP) -defconfig: .config +savedefconfig: .config @$(ECHO) ' GEN $@' $(SILENT)$(CONF) --savedefconfig=$${CONFIG-defconfig} $(KCONFIG_TOP) -olddefconfig: +defconfig: @$(ECHO) ' CONF $@' $(SILENT)$(CONF) --defconfig=$${CONFIG-defconfig} $(KCONFIG_TOP)