summaryrefslogtreecommitdiff
path: root/kconfig/kconfig.mk
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@free.fr>2013-01-21 23:34:15 (GMT)
committerYann E. MORIN" <yann.morin.1998@free.fr>2013-01-21 23:34:15 (GMT)
commit5e9d4ba24f44ed6f0adb205761ccc28440a1d086 (patch)
tree98073b93254dc9660f7db5bbe2ae3cc2b933f11d /kconfig/kconfig.mk
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" <yann.morin.1998@free.fr>
Diffstat (limited to 'kconfig/kconfig.mk')
-rw-r--r--kconfig/kconfig.mk6
1 files changed, 3 insertions, 3 deletions
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)