diff options
author | Adam Lee <adam8157@gmail.com> | 2012-08-31 13:05:17 -0400 |
---|---|---|
committer | Michal Marek <mmarek@suse.cz> | 2012-09-27 12:18:07 -0400 |
commit | fb16d8912db5268f29706010ecafff74b971c58d (patch) | |
tree | aa79ca1cbc5be1e4afde9bc90c856e4419403591 /scripts/kconfig/Makefile | |
parent | 95ac9b3b585d20df116c5bea1511d9eb5758ac81 (diff) |
kconfig: replace 'oldnoconfig' with 'olddefconfig', and keep the old name as an alias
As 67d34a6a391369269a2e5dba8a5f42cc4cd50231 said, 'oldnoconfig' doesn't
set new symbols to 'n', but instead sets it to their default values.
So, this patch replaces 'oldnoconfig' with 'olddefconfig', stop making
people confused, and keep the old name 'oldnoconfig' as an alias,
because people already are dependent on its behavior with the
counter-intuitive name.
Signed-off-by: Adam Lee <adam8157@gmail.com>
Signed-off-by: Michal Marek <mmarek@suse.cz>
Diffstat (limited to 'scripts/kconfig/Makefile')
-rw-r--r-- | scripts/kconfig/Makefile | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/scripts/kconfig/Makefile b/scripts/kconfig/Makefile index 77d53999ffb9..3091794e9354 100644 --- a/scripts/kconfig/Makefile +++ b/scripts/kconfig/Makefile | |||
@@ -76,11 +76,17 @@ PHONY += allnoconfig allyesconfig allmodconfig alldefconfig randconfig | |||
76 | allnoconfig allyesconfig allmodconfig alldefconfig randconfig: $(obj)/conf | 76 | allnoconfig allyesconfig allmodconfig alldefconfig randconfig: $(obj)/conf |
77 | $< --$@ $(Kconfig) | 77 | $< --$@ $(Kconfig) |
78 | 78 | ||
79 | PHONY += listnewconfig oldnoconfig savedefconfig defconfig | 79 | PHONY += listnewconfig olddefconfig oldnoconfig savedefconfig defconfig |
80 | 80 | ||
81 | listnewconfig oldnoconfig: $(obj)/conf | 81 | listnewconfig olddefconfig: $(obj)/conf |
82 | $< --$@ $(Kconfig) | 82 | $< --$@ $(Kconfig) |
83 | 83 | ||
84 | # oldnoconfig is an alias of olddefconfig, because people already are dependent | ||
85 | # on its behavior(sets new symbols to their default value but not 'n') with the | ||
86 | # counter-intuitive name. | ||
87 | oldnoconfig: $(obj)/conf | ||
88 | $< --olddefconfig $(Kconfig) | ||
89 | |||
84 | savedefconfig: $(obj)/conf | 90 | savedefconfig: $(obj)/conf |
85 | $< --$@=defconfig $(Kconfig) | 91 | $< --$@=defconfig $(Kconfig) |
86 | 92 | ||
@@ -114,7 +120,7 @@ help: | |||
114 | @echo ' alldefconfig - New config with all symbols set to default' | 120 | @echo ' alldefconfig - New config with all symbols set to default' |
115 | @echo ' randconfig - New config with random answer to all options' | 121 | @echo ' randconfig - New config with random answer to all options' |
116 | @echo ' listnewconfig - List new options' | 122 | @echo ' listnewconfig - List new options' |
117 | @echo ' oldnoconfig - Same as silentoldconfig but sets new symbols to their default value' | 123 | @echo ' olddefconfig - Same as silentoldconfig but sets new symbols to their default value' |
118 | 124 | ||
119 | # lxdialog stuff | 125 | # lxdialog stuff |
120 | check-lxdialog := $(srctree)/$(src)/lxdialog/check-lxdialog.sh | 126 | check-lxdialog := $(srctree)/$(src)/lxdialog/check-lxdialog.sh |