summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorMartin Roth <gaumless@gmail.com>2024-01-18 10:25:18 -0700
committerFelix Singer <service+coreboot-gerrit@felixsinger.de>2024-01-24 08:31:31 +0000
commite3df18451c518c0019f35b9b4d5d06ff6bd3d5f2 (patch)
tree13a23881f359fc3b7254fec3359805601512effa /util
parent792ed6353a80fcebbc74f8a34e37c10eaf6ff62b (diff)
Makefiles: Rename top-level Makefiles from .inc to .mk
The .inc suffix is confusing to various tools as it's not specific to Makefiles. This means that editors don't recognize the files, and don't open them with highlighting and any other specific editor functionality. This issue is also seen in the release notes generation script where Makefiles get renamed before running cloc. The rest of the Makefiles will be renamed in following commits. Signed-off-by: Martin Roth <gaumless@gmail.com> Change-Id: Idaf69c6871d0bc1ee5e2e53157b8631c55eb3db9 Reviewed-on: https://review.coreboot.org/c/coreboot/+/80063 Reviewed-by: Felix Singer <service+coreboot-gerrit@felixsinger.de> Reviewed-by: Maximilian Brune <maximilian.brune@9elements.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nico Huber <nico.h@gmx.de>
Diffstat (limited to 'util')
-rw-r--r--util/kconfig/Makefile.mk (renamed from util/kconfig/Makefile.inc)0
-rwxr-xr-xutil/lint/kconfig_lint2
-rw-r--r--util/testing/Makefile.mk (renamed from util/testing/Makefile.inc)0
3 files changed, 1 insertions, 1 deletions
diff --git a/util/kconfig/Makefile.inc b/util/kconfig/Makefile.mk
index 83fad884b7..83fad884b7 100644
--- a/util/kconfig/Makefile.inc
+++ b/util/kconfig/Makefile.mk
diff --git a/util/lint/kconfig_lint b/util/lint/kconfig_lint
index e67aebd2d2..e64cf11c84 100755
--- a/util/lint/kconfig_lint
+++ b/util/lint/kconfig_lint
@@ -36,7 +36,7 @@ my $exclude_dirs_and_files =
'^build/\|^coreboot-builds/\|^configs/\|^util/\|^\.git/\|^payloads\|^Documentation\|^3rdparty'
. '\|' . # directories to exclude when searching for used symbols
'\.config\|\.txt$\|\.tex$\|\.tags\|/kconfig.h\|\.fmd'; #files to exclude when looking for symbols
-my $payload_files_to_check='payloads/Makefile.inc payloads/external/Makefile.inc';
+my $payload_files_to_check='payloads/Makefile.mk payloads/external/Makefile.inc';
my $config_file = ""; # name of config file to load symbol values from.
my @wholeconfig; # document the entire kconfig structure
my %loaded_files; # list of each Kconfig file loaded
diff --git a/util/testing/Makefile.inc b/util/testing/Makefile.mk
index c73502e9bc..c73502e9bc 100644
--- a/util/testing/Makefile.inc
+++ b/util/testing/Makefile.mk