Home Home > GIT Browse > vanilla
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Suchanek <msuchanek@suse.de>2018-07-16 12:57:19 +0200
committerMichal Suchanek <msuchanek@suse.de>2018-07-16 13:27:37 +0200
commitea4ba2a376f062d87e14bc377f8865e05f907215 (patch)
tree191ec11cb592e65e852b53270078da954ec02ee7
parent475d588a7deff7f6cb12bf5c79b1aa9279fe097e (diff)
Revert "kconfig: only write '# CONFIG_FOO is not set' forvanilla
visible symbols" (bsc#1093118). suse-commit: a141ecb77fa42a7f9d24483fad4402af4b0d5154
-rw-r--r--scripts/kconfig/symbol.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/kconfig/symbol.c b/scripts/kconfig/symbol.c
index 7c9a88e91cfa..1b9e8370fe98 100644
--- a/scripts/kconfig/symbol.c
+++ b/scripts/kconfig/symbol.c
@@ -397,10 +397,9 @@ void sym_calc_value(struct symbol *sym)
if (!sym_is_choice(sym)) {
prop = sym_get_default_prop(sym);
if (prop) {
+ sym->flags |= SYMBOL_WRITE;
newval.tri = EXPR_AND(expr_calc_value(prop->expr),
prop->visible.tri);
- if (newval.tri != no)
- sym->flags |= SYMBOL_WRITE;
}
if (sym->implied.tri != no) {
sym->flags |= SYMBOL_WRITE;