summaryrefslogtreecommitdiff
path: root/util/kconfig/lkc_proto.h
diff options
context:
space:
mode:
authorPatrick Georgi <patrick@coreboot.org>2024-03-13 13:01:21 +0100
committerFelix Held <felix-coreboot@felixheld.de>2024-04-03 12:28:04 +0000
commit7761237dfe0c509fa4cae255b20fa4b1278cbca1 (patch)
tree949e8eafd32fd4bfb2a518f7cce4344ddf3c25e3 /util/kconfig/lkc_proto.h
parent96499840aa3f5376ae8cfa1cefb6fd98800019a9 (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/lkc_proto.h')
-rw-r--r--util/kconfig/lkc_proto.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/util/kconfig/lkc_proto.h b/util/kconfig/lkc_proto.h
index 72ac6127ce..ff63564bba 100644
--- a/util/kconfig/lkc_proto.h
+++ b/util/kconfig/lkc_proto.h
@@ -1,4 +1,7 @@
/* SPDX-License-Identifier: GPL-2.0-only */
+#ifndef LKC_PROTO_H
+#define LKC_PROTO_H
+
#include <stdarg.h>
/* confdata.c */
@@ -12,6 +15,7 @@ void conf_set_changed(bool val);
bool conf_get_changed(void);
void conf_set_changed_callback(void (*fn)(void));
void conf_set_message_callback(void (*fn)(const char *s));
+bool conf_errors(void);
/* symbol.c */
extern struct symbol * symbol_hash[SYMBOL_HASHSIZE];
@@ -22,6 +26,7 @@ void print_symbol_for_listconfig(struct symbol *sym);
struct symbol ** sym_re_search(const char *pattern);
const char * sym_type_name(enum symbol_type type);
void sym_calc_value(struct symbol *sym);
+bool sym_dep_errors(void);
enum symbol_type sym_get_type(struct symbol *sym);
bool sym_tristate_within_range(struct symbol *sym,tristate tri);
bool sym_set_tristate_value(struct symbol *sym,tristate tri);
@@ -50,3 +55,5 @@ char *expand_one_token(const char **str);
/* expr.c */
void expr_print(struct expr *e, void (*fn)(void *, struct symbol *, const char *), void *data, int prevtoken);
+
+#endif /* LKC_PROTO_H */