projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
61fa0e1
)
kconfig: do not override symbols already set
author
Yann E. MORIN
<yann.morin.1998@free.fr>
Wed, 24 Apr 2013 20:00:04 +0000
(22:00 +0200)
committer
Yann E. MORIN
<yann.morin.1998@free.fr>
Wed, 24 Apr 2013 22:15:58 +0000
(
00:15
+0200)
For randconfig, if a list of required symbols is specified with
KCONFIG_ALLCONFIG, such symbols do not "have a value" as per
sym_has_value(), but have the "valid" flag set.
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
scripts/kconfig/confdata.c
patch
|
blob
|
blame
|
history
diff --git
a/scripts/kconfig/confdata.c
b/scripts/kconfig/confdata.c
index 306cbc1bac04dc3ec35b5bf9161f57b6366b6ed2..2e35d4b2bbfd7bb7cc72da7bdc3faa92d7146167 100644
(file)
--- a/
scripts/kconfig/confdata.c
+++ b/
scripts/kconfig/confdata.c
@@
-1109,7
+1109,7
@@
void conf_set_all_new_symbols(enum conf_def_mode mode)
int i, cnt;
for_all_symbols(i, sym) {
- if (sym_has_value(sym))
+ if (sym_has_value(sym)
|| (sym->flags & SYMBOL_VALID)
)
continue;
switch (sym_get_type(sym)) {
case S_BOOLEAN: