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" --- kconfig/kconfig.mk | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'kconfig') diff --git a/kconfig/kconfig.mk b/kconfig/kconfig.mk index 4cacf737..bf69cbf7 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 v1.2.3