summaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorMartin Roth <gaumless@gmail.com>2024-01-18 19:06:14 -0700
committerFelix Held <felix-coreboot@felixheld.de>2024-01-26 20:15:18 +0000
commit659f97c621c085248f68cf5a63819aa4c4497206 (patch)
tree9e5affff3168bb878b419fd2a627d4c674e81c2a /util
parent0825d904670ca1a5e5801649b574ce2742dc23f0 (diff)
downloadcoreboot-659f97c621c085248f68cf5a63819aa4c4497206.tar.gz
coreboot-659f97c621c085248f68cf5a63819aa4c4497206.tar.bz2
coreboot-659f97c621c085248f68cf5a63819aa4c4497206.zip
src, util: Clean up makefile.inc in text, help & comments
Signed-off-by: Martin Roth <gaumless@gmail.com> Change-Id: Ib69236fb5d68272f92405512dc231fa75ecccaa6 Reviewed-on: https://review.coreboot.org/c/coreboot/+/80125 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Felix Singer <service+coreboot-gerrit@felixsinger.de> Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Diffstat (limited to 'util')
-rw-r--r--util/kconfig/patches/0008-kconfig-Add-wildcard-support-for-source.patch10
-rwxr-xr-xutil/scripts/rm_unused_code2
2 files changed, 6 insertions, 6 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 688b387407f4..b476bc1581dc 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
@@ -8,7 +8,7 @@ wildcards (e.g. source src/mainboard/*/Kconfig) which
makes automatic inclusion of all boards a tedious task
and prevents us from implementing "drop in" boards.
-In our Makefile.inc files we already include mainboard
+In our Makefile.mk files we already include mainboard
directories per wildcard, so let's add the infrastructure
to do the same with Kconfig.
@@ -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);
};
-
+
diff --git a/util/scripts/rm_unused_code b/util/scripts/rm_unused_code
index 53c0b65e3d0d..d4b42b62971d 100755
--- a/util/scripts/rm_unused_code
+++ b/util/scripts/rm_unused_code
@@ -259,7 +259,7 @@ remove_kconfigs() {
remove_unused() {
local dir
# Most files can be removed simply by looking at the time, but
- # all Kconfig and Makefile.inc files in the entire tree are accessed
+ # all Kconfig and Makefiles in the entire tree are accessed
# whether they're used or not.
remove_kconfigs