From 5e9d4ba24f44ed6f0adb205761ccc28440a1d086 Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN\"" Date: Tue, 22 Jan 2013 00:34:15 +0100 Subject: 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 --git a/ct-ng.comp b/ct-ng.comp index 09292ac..19a39d6 100644 --- a/ct-ng.comp +++ b/ct-ng.comp @@ -15,7 +15,7 @@ _ct_ng () { 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 --git a/kconfig/kconfig.mk b/kconfig/kconfig.mk index 4cacf73..bf69cbf 100644 --- a/kconfig/kconfig.mk +++ b/kconfig/kconfig.mk @@ -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 @@ oldconfig: .config @$(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) -- cgit v0.10.2-6-g49f6