Skip to content

Commit

Permalink
util/kconfig: Uprev to Linux 5.16's kconfig
Browse files Browse the repository at this point in the history
Linux 5.16 saw a significant rewrite in the boolean handling which
reduces our change set. On the other hand, it's all new code.

Comparing the config.build and config.h files generated by
`util/abuild/abuild -C`, only a few lines of comment in the header
changed.

Change-Id: I52984e15a48236ddf228707aec85e90f71aa4382
Signed-off-by: Patrick Georgi <patrick@coreboot.org>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/66045
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Elyes Haouas <ehaouas@noos.fr>
  • Loading branch information
pgeorgi authored and Patrick Georgi committed Oct 30, 2022
1 parent 14cedd9 commit 4c9b9e9
Show file tree
Hide file tree
Showing 17 changed files with 351 additions and 554 deletions.
15 changes: 2 additions & 13 deletions util/kconfig/conf.c
Original file line number Diff line number Diff line change
Expand Up @@ -648,19 +648,8 @@ static void check_conf(struct menu *menu)

switch (input_mode) {
case listnewconfig:
if (sym->name) {
const char *str;

if (sym->type == S_STRING) {
str = sym_get_string_value(sym);
str = sym_escape_string_value(str);
printf("%s%s=%s\n", CONFIG_, sym->name, str);
free((void *)str);
} else {
str = sym_get_string_value(sym);
printf("%s%s=%s\n", CONFIG_, sym->name, str);
}
}
if (sym->name)
print_symbol_for_listconfig(sym);
break;
case helpnewconfig:
printf("-----\n");
Expand Down

0 comments on commit 4c9b9e9

Please sign in to comment.