aboutsummaryrefslogtreecommitdiff
path: root/scripts/kconfig/confdata.c
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2014-08-23 22:06:21 -0400
committerKevin O'Connor <kevin@koconnor.net>2014-08-25 11:36:19 -0400
commita2959d67c00a8719d8b0eff9296d2b10eead0e22 (patch)
treeb6074294fc0fb4cacd79334ca3f19f4fd96d3ebc /scripts/kconfig/confdata.c
parenta9f48163bcd9ea20f9e4bc4467946f6726882a9b (diff)
downloadseabios-hppa-a2959d67c00a8719d8b0eff9296d2b10eead0e22.zip
seabios-hppa-a2959d67c00a8719d8b0eff9296d2b10eead0e22.tar.gz
seabios-hppa-a2959d67c00a8719d8b0eff9296d2b10eead0e22.tar.bz2
build: Update kconfig to version in Linux 3.16.
Update kconfig (from Linux v3.13) to the latest version (Linux v3.16). This copies kconfig from Linux with only the changes necessary to work with the SeaBIOS build (the equivalent of the earlier SeaBIOS 0da7bfdf commit) and the changes necessary to always emit symbols (SeaBIOS b623e7c5 commit). Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'scripts/kconfig/confdata.c')
-rw-r--r--scripts/kconfig/confdata.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/kconfig/confdata.c b/scripts/kconfig/confdata.c
index eb52ed5..08e7559 100644
--- a/scripts/kconfig/confdata.c
+++ b/scripts/kconfig/confdata.c
@@ -1186,7 +1186,10 @@ bool conf_set_all_new_symbols(enum conf_def_mode mode)
sym->def[S_DEF_USER].tri = mod;
break;
case def_no:
- sym->def[S_DEF_USER].tri = no;
+ if (sym->flags & SYMBOL_ALLNOCONFIG_Y)
+ sym->def[S_DEF_USER].tri = yes;
+ else
+ sym->def[S_DEF_USER].tri = no;
break;
case def_random:
sym->def[S_DEF_USER].tri = no;