diff options
author | Patrick Georgi <patrick@coreboot.org> | 2024-03-13 13:01:21 +0100 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2024-04-03 12:28:04 +0000 |
commit | 7761237dfe0c509fa4cae255b20fa4b1278cbca1 (patch) | |
tree | 949e8eafd32fd4bfb2a518f7cce4344ddf3c25e3 /util/kconfig/conf.c | |
parent | 96499840aa3f5376ae8cfa1cefb6fd98800019a9 (diff) |
util/kconfig: Uprev to Linux 6.8's kconfig
Linux kconfig has its own implementation of KCONFIG_WERROR now, so use
that. This reduces our patch count by 2.
Change-Id: I4f5f1f552e96f8ef7a4c5c0ab2ab7e2b6d798ceb
Signed-off-by: Patrick Georgi <patrick@georgi.software>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/81223
Reviewed-by: Felix Singer <service+coreboot-gerrit@felixsinger.de>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'util/kconfig/conf.c')
-rw-r--r-- | util/kconfig/conf.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/util/kconfig/conf.c b/util/kconfig/conf.c index f13c02c52d..8499143571 100644 --- a/util/kconfig/conf.c +++ b/util/kconfig/conf.c @@ -827,6 +827,9 @@ int main(int ac, char **av) break; } + if (conf_errors()) + exit(1); + if (sync_kconfig) { name = getenv("KCONFIG_NOSILENTUPDATE"); if (name && *name) { @@ -890,6 +893,9 @@ int main(int ac, char **av) break; } + if (sym_dep_errors()) + exit(1); + if (input_mode == savedefconfig) { if (conf_write_defconfig(defconfig_file)) { fprintf(stderr, "\n*** Error while saving defconfig to: %s\n\n", |