path: root/kconfig
diff options
authorYann E. MORIN" <>2013-01-21 23:34:15 (GMT)
committerYann E. MORIN" <>2013-01-21 23:34:15 (GMT)
commit5e9d4ba24f44ed6f0adb205761ccc28440a1d086 (patch)
tree98073b93254dc9660f7db5bbe2ae3cc2b933f11d /kconfig
parent27c4240b826a09d4ce600aaa6289da461685fdd7 (diff)
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" <>
Diffstat (limited to 'kconfig')
1 files changed, 3 insertions, 3 deletions
diff --git a/kconfig/ b/kconfig/
index 4cacf73..bf69cbf 100644
--- a/kconfig/
+++ b/kconfig/
@@ -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
$(SILENT)$(CONF) --silent$@ $(KCONFIG_TOP)
-defconfig: .config
+savedefconfig: .config
@$(ECHO) ' GEN $@'
$(SILENT)$(CONF) --savedefconfig=$${CONFIG-defconfig} $(KCONFIG_TOP)
@$(ECHO) ' CONF $@'
$(SILENT)$(CONF) --defconfig=$${CONFIG-defconfig} $(KCONFIG_TOP)