From 7eab8ef8b720e8744eea3c6c771bccc217fbe5ed Mon Sep 17 00:00:00 2001 From: Patrick Georgi Date: Mon, 20 Nov 2023 18:03:34 +0100 Subject: util/kconfig: Uprev to Linux 6.2's kconfig The upstream build system uses a newly introduced function `read-file`, so copy that in from Linux 6.2. TEST=`util/abuild/abuild -C` output (config.h and config.build) remains the same Change-Id: Ic100bf189ebd3eaa0eb26904ae8602910329a180 Signed-off-by: Patrick Georgi Reviewed-on: https://review.coreboot.org/c/coreboot/+/79179 Tested-by: build bot (Jenkins) Reviewed-by: Martin L Roth --- util/kconfig/lkc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'util/kconfig/lkc.h') diff --git a/util/kconfig/lkc.h b/util/kconfig/lkc.h index 559e04af85..e0698d45da 100644 --- a/util/kconfig/lkc.h +++ b/util/kconfig/lkc.h @@ -80,7 +80,7 @@ struct gstr str_new(void); void str_free(struct gstr *gs); void str_append(struct gstr *gs, const char *s); void str_printf(struct gstr *gs, const char *fmt, ...); -const char *str_get(struct gstr *gs); +char *str_get(struct gstr *gs); /* menu.c */ void _menu_init(void); -- cgit v1.2.3