From ba3a71966876aad1c720d7c385dd4058f844f5e8 Mon Sep 17 00:00:00 2001 From: Martin Roth Date: Thu, 18 Jan 2024 18:16:12 -0700 Subject: 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 Change-Id: Id09eafd293a54198aab87281f529749325df8b07 Reviewed-on: https://review.coreboot.org/c/coreboot/+/80122 Tested-by: build bot (Jenkins) Reviewed-by: Felix Held Reviewed-by: Felix Singer --- tests/Makefile.common | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/Makefile.common') 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`"; \ -- cgit v1.2.3