aboutsummaryrefslogtreecommitdiff
path: root/tests/Makefile.common
diff options
context:
space:
mode:
authorMartin Roth <gaumless@gmail.com>2024-01-18 18:16:12 -0700
committerFelix Singer <service+coreboot-gerrit@felixsinger.de>2024-01-26 12:43:08 +0000
commitba3a71966876aad1c720d7c385dd4058f844f5e8 (patch)
treedb7ab20a38b93e82cd4e04858a90bbc5cfe074eb /tests/Makefile.common
parent48169e80364b541b81620892a7cb51ad46ceb04a (diff)
tests: Rename 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. Signed-off-by: Martin Roth <gaumless@gmail.com> Change-Id: Id09eafd293a54198aab87281f529749325df8b07 Reviewed-on: https://review.coreboot.org/c/coreboot/+/80122 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Felix Held <felix-coreboot@felixheld.de> Reviewed-by: Felix Singer <service+coreboot-gerrit@felixsinger.de>
Diffstat (limited to 'tests/Makefile.common')
-rw-r--r--tests/Makefile.common4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/Makefile.common b/tests/Makefile.common
index e51d2530a2..5cb7b25b59 100644
--- a/tests/Makefile.common
+++ b/tests/Makefile.common
@@ -42,7 +42,7 @@ TEST_INCLUDES += -I$(src) -I$(src)/include -I$(src)/commonlib/include \
TEST_INCLUDES += -I$(dir $(TEST_KCONFIG_AUTOHEADER))
# Note: This is intentionally just a subset of the warnings in the toplevel
-# Makefile.inc. We don't need to be as strict with test code, and things like
+# Makefile.mk. We don't need to be as strict with test code, and things like
# -Wmissing-prototypes just make working with the test framework cumbersome.
# Only put conservative warnings here that really detect code that's obviously
# unintentional.
@@ -95,7 +95,7 @@ define TEST_CC_template
$(1)-config-file := $(testobj)/$(1)/config.h
$$($(1)-config-file): $(TEST_KCONFIG_AUTOHEADER)
mkdir -p $$(dir $$@)
- printf '// File generated by tests/Makefile.inc\n// Do not change\n' > $$@
+ printf '// File generated by tests/Makefile.mk\n// Do not change\n' > $$@
printf '#include <%s>\n\n' "$(notdir $(TEST_KCONFIG_AUTOHEADER))" >> $$@
for kv in $$($(1)-config); do \
key="`echo $$$$kv | cut -d '=' -f -1`"; \