diff options
| author | Roman Zippel <zippel@linux-m68k.org> | 2003-06-05 18:18:47 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@home.transmeta.com> | 2003-06-05 18:18:47 -0700 |
| commit | cffbe99ee5535f02ccdbfc264f9aa744d0c9ea7d (patch) | |
| tree | bf0aae1b82e27b30e5a118f05e121178a8a638f3 /scripts | |
| parent | cb4acf11b7dea9799986130b6955d3dc5984956d (diff) | |
[PATCH] boolean symbol state fix
This is an important fix to allow changing boolean symbols, whose
dependency is 'm'. All internal symbol states must be converted from
the tristate into boolean the state.
I missed this change while adding expression support for defaults,
please apply.
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/kconfig/symbol.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/kconfig/symbol.c b/scripts/kconfig/symbol.c index 5c62b2c09a74..11318d95d601 100644 --- a/scripts/kconfig/symbol.c +++ b/scripts/kconfig/symbol.c @@ -271,6 +271,8 @@ void sym_calc_value(struct symbol *sym) if (sym_get_type(sym) == S_BOOLEAN) { if (newval.tri == mod) newval.tri = yes; + if (sym->visible == mod) + sym->visible = yes; if (sym->rev_dep.tri == mod) sym->rev_dep.tri = yes; } |
