summaryrefslogtreecommitdiff
path: root/util/kconfig/patches/0008-kconfig-Add-wildcard-support-for-source.patch
diff options
context:
space:
mode:
authorPatrick Georgi <patrick@coreboot.org>2024-01-30 23:37:11 +0100
committerPatrick Georgi <patrick@coreboot.org>2024-02-05 06:29:11 +0000
commit3e397ddacbaa61d766fde21ddbea30493c6df9b8 (patch)
tree6158cc4c08f6ee0e91fcbacd24d2417eefc54894 /util/kconfig/patches/0008-kconfig-Add-wildcard-support-for-source.patch
parentcc2ab495256b8fffe4820c768fe1a20be1cd18a7 (diff)
util/kconfig: Uprev to Linux 6.7's kconfig
Just a memory leak fix in Linux 6.7. Change-Id: I1ff302dafa01e78429a30ff18e21ffe0b45ce46e Signed-off-by: Patrick Georgi <patrick@coreboot.org> Reviewed-on: https://review.coreboot.org/c/coreboot/+/80263 Reviewed-by: Arthur Heymans <arthur@aheymans.xyz> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nico Huber <nico.h@gmx.de>
Diffstat (limited to 'util/kconfig/patches/0008-kconfig-Add-wildcard-support-for-source.patch')
-rw-r--r--util/kconfig/patches/0008-kconfig-Add-wildcard-support-for-source.patch8
1 files changed, 4 insertions, 4 deletions
diff --git a/util/kconfig/patches/0008-kconfig-Add-wildcard-support-for-source.patch b/util/kconfig/patches/0008-kconfig-Add-wildcard-support-for-source.patch
index b476bc1581..2e6a24f30f 100644
--- a/util/kconfig/patches/0008-kconfig-Add-wildcard-support-for-source.patch
+++ b/util/kconfig/patches/0008-kconfig-Add-wildcard-support-for-source.patch
@@ -28,7 +28,7 @@ Index: kconfig/lexer.l
+++ kconfig/lexer.l
@@ -8,6 +8,7 @@
%{
-
+
#include <assert.h>
+#include <glob.h>
#include <limits.h>
@@ -37,7 +37,7 @@ Index: kconfig/lexer.l
@@ -439,6 +440,32 @@ void zconf_nextfile(const char *name)
current_file = file;
}
-
+
+void zconf_nextfiles(const char *wildcard)
+{
+ glob_t g;
@@ -78,7 +78,7 @@ Index: kconfig/lkc.h
+void zconf_nextfiles(const char *name);
int zconf_lineno(void);
const char *zconf_curname(void);
-
+
Index: kconfig/parser.y
===================================================================
--- kconfig.orig/parser.y
@@ -91,4 +91,4 @@ Index: kconfig/parser.y
+ zconf_nextfiles($2);
free($2);
};
-
+