diff options
author | Martin Roth <gaumless@gmail.com> | 2024-01-18 18:16:12 -0700 |
---|---|---|
committer | Felix Singer <service+coreboot-gerrit@felixsinger.de> | 2024-01-26 12:43:08 +0000 |
commit | ba3a71966876aad1c720d7c385dd4058f844f5e8 (patch) | |
tree | db7ab20a38b93e82cd4e04858a90bbc5cfe074eb /tests | |
parent | 48169e80364b541b81620892a7cb51ad46ceb04a (diff) | |
download | coreboot-ba3a71966876aad1c720d7c385dd4058f844f5e8.tar.gz coreboot-ba3a71966876aad1c720d7c385dd4058f844f5e8.tar.bz2 coreboot-ba3a71966876aad1c720d7c385dd4058f844f5e8.zip |
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')
-rw-r--r-- | tests/Makefile.common | 4 | ||||
-rw-r--r-- | tests/Makefile.mk | 2 | ||||
-rw-r--r-- | tests/acpi/Makefile.mk (renamed from tests/acpi/Makefile.inc) | 0 | ||||
-rw-r--r-- | tests/commonlib/Makefile.mk (renamed from tests/commonlib/Makefile.inc) | 0 | ||||
-rw-r--r-- | tests/commonlib/bsd/Makefile.mk (renamed from tests/commonlib/bsd/Makefile.inc) | 0 | ||||
-rw-r--r-- | tests/console/Makefile.mk (renamed from tests/console/Makefile.inc) | 0 | ||||
-rw-r--r-- | tests/device/Makefile.mk (renamed from tests/device/Makefile.inc) | 0 | ||||
-rw-r--r-- | tests/drivers/Makefile.mk (renamed from tests/drivers/Makefile.inc) | 0 | ||||
-rw-r--r-- | tests/lib/Makefile.mk (renamed from tests/lib/Makefile.inc) | 0 |
9 files changed, 3 insertions, 3 deletions
diff --git a/tests/Makefile.common b/tests/Makefile.common index e51d2530a278..5cb7b25b5945 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`"; \ diff --git a/tests/Makefile.mk b/tests/Makefile.mk index 584b4c0c9dae..f838f8336be9 100644 --- a/tests/Makefile.mk +++ b/tests/Makefile.mk @@ -44,7 +44,7 @@ $(foreach attribute,$(attributes), $(eval $(1)$(2)-stage := $(if $($(1)$(2)-stage),$($(1)$(2)-stage),ramstage)) $(if $(findstring $($(1)$(2)-stage), $(stages)),, $(error Wrong $(1)$(2)-stage value $($(1)$(2)-stage). \ - Check your $(dir $(1)$(2))Makefile.inc)) + Check your $(dir $(1)$(2))Makefile.mk)) endef $(call add-special-class, tests) diff --git a/tests/acpi/Makefile.inc b/tests/acpi/Makefile.mk index b0ef5fa7b696..b0ef5fa7b696 100644 --- a/tests/acpi/Makefile.inc +++ b/tests/acpi/Makefile.mk diff --git a/tests/commonlib/Makefile.inc b/tests/commonlib/Makefile.mk index 6df1db8fc56b..6df1db8fc56b 100644 --- a/tests/commonlib/Makefile.inc +++ b/tests/commonlib/Makefile.mk diff --git a/tests/commonlib/bsd/Makefile.inc b/tests/commonlib/bsd/Makefile.mk index bf17b6d56dbb..bf17b6d56dbb 100644 --- a/tests/commonlib/bsd/Makefile.inc +++ b/tests/commonlib/bsd/Makefile.mk diff --git a/tests/console/Makefile.inc b/tests/console/Makefile.mk index 0bbead09d945..0bbead09d945 100644 --- a/tests/console/Makefile.inc +++ b/tests/console/Makefile.mk diff --git a/tests/device/Makefile.inc b/tests/device/Makefile.mk index 22036cc9276c..22036cc9276c 100644 --- a/tests/device/Makefile.inc +++ b/tests/device/Makefile.mk diff --git a/tests/drivers/Makefile.inc b/tests/drivers/Makefile.mk index d77f43c57fe1..d77f43c57fe1 100644 --- a/tests/drivers/Makefile.inc +++ b/tests/drivers/Makefile.mk diff --git a/tests/lib/Makefile.inc b/tests/lib/Makefile.mk index 0cab1ba266b6..0cab1ba266b6 100644 --- a/tests/lib/Makefile.inc +++ b/tests/lib/Makefile.mk |