mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-24 15:06:42 +00:00
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>
This commit is contained in:
parent
27c4240b82
commit
5e9d4ba24f
@ -15,7 +15,7 @@ _ct_ng () {
|
|||||||
stop_steps=$(echo "${steps}" |sed -r -e 's/(^| )/+\1/;')
|
stop_steps=$(echo "${steps}" |sed -r -e 's/(^| )/+\1/;')
|
||||||
|
|
||||||
actions='help menuconfig oldconfig saveconfig extractconfig
|
actions='help menuconfig oldconfig saveconfig extractconfig
|
||||||
defconfig olddefconfig
|
defconfig savedefconfig
|
||||||
build build. build-all build-all.
|
build build. build-all build-all.
|
||||||
wiki-samples list-samples list-samples-short list-steps
|
wiki-samples list-samples list-samples-short list-steps
|
||||||
show-tuple show-all show-config
|
show-tuple show-all show-config
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
#-----------------------------------------------------------
|
#-----------------------------------------------------------
|
||||||
# The configurators rules
|
# The configurators rules
|
||||||
|
|
||||||
configurators = menuconfig nconfig oldconfig defconfig olddefconfig
|
configurators = menuconfig nconfig oldconfig savedefconfig defconfig
|
||||||
PHONY += $(configurators)
|
PHONY += $(configurators)
|
||||||
|
|
||||||
$(configurators): config_files
|
$(configurators): config_files
|
||||||
@ -27,11 +27,11 @@ oldconfig: .config
|
|||||||
@$(ECHO) " CONF $(KCONFIG_TOP)"
|
@$(ECHO) " CONF $(KCONFIG_TOP)"
|
||||||
$(SILENT)$(CONF) --silent$@ $(KCONFIG_TOP)
|
$(SILENT)$(CONF) --silent$@ $(KCONFIG_TOP)
|
||||||
|
|
||||||
defconfig: .config
|
savedefconfig: .config
|
||||||
@$(ECHO) ' GEN $@'
|
@$(ECHO) ' GEN $@'
|
||||||
$(SILENT)$(CONF) --savedefconfig=$${CONFIG-defconfig} $(KCONFIG_TOP)
|
$(SILENT)$(CONF) --savedefconfig=$${CONFIG-defconfig} $(KCONFIG_TOP)
|
||||||
|
|
||||||
olddefconfig:
|
defconfig:
|
||||||
@$(ECHO) ' CONF $@'
|
@$(ECHO) ' CONF $@'
|
||||||
$(SILENT)$(CONF) --defconfig=$${CONFIG-defconfig} $(KCONFIG_TOP)
|
$(SILENT)$(CONF) --defconfig=$${CONFIG-defconfig} $(KCONFIG_TOP)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user