diff options
author | Martin Roth <gaumless@gmail.com> | 2024-01-18 16:33:55 -0700 |
---|---|---|
committer | Felix Singer <service+coreboot-gerrit@felixsinger.de> | 2024-01-24 10:15:10 +0000 |
commit | 354389365bac2c972749b9fc4fd21c6cd953cb59 (patch) | |
tree | ced96887bdc48548c77ada79b4e89ba8d0fb65b3 /payloads/libpayload/tests | |
parent | fd96da95c4a36ffae8118400aa8cdab0d50b5060 (diff) |
payloads: 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: Ie7038712de8cc646632d5e7d29550e3260bf2c62
Reviewed-on: https://review.coreboot.org/c/coreboot/+/80103
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>
Diffstat (limited to 'payloads/libpayload/tests')
-rw-r--r-- | payloads/libpayload/tests/Makefile.mk (renamed from payloads/libpayload/tests/Makefile.inc) | 2 | ||||
-rw-r--r-- | payloads/libpayload/tests/drivers/Makefile.mk (renamed from payloads/libpayload/tests/drivers/Makefile.inc) | 0 | ||||
-rw-r--r-- | payloads/libpayload/tests/libc/Makefile.mk (renamed from payloads/libpayload/tests/libc/Makefile.inc) | 0 | ||||
-rw-r--r-- | payloads/libpayload/tests/libcbfs/Makefile.mk (renamed from payloads/libpayload/tests/libcbfs/Makefile.inc) | 0 |
4 files changed, 1 insertions, 1 deletions
diff --git a/payloads/libpayload/tests/Makefile.inc b/payloads/libpayload/tests/Makefile.mk index dede3404c5..e271a7cea8 100644 --- a/payloads/libpayload/tests/Makefile.inc +++ b/payloads/libpayload/tests/Makefile.mk @@ -105,7 +105,7 @@ define TEST_CC_template $(1)-config-file := $(testobj)/$(1)/libpayload-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 '#ifndef TEST_LIBPAYLOAD_CONFIG_H_\n' >> $$@; printf '#define TEST_LIBPAYLOAD_CONFIG_H_\n' >> $$@; printf '#include <%s>\n\n' "$(notdir $(TEST_KCONFIG_AUTOHEADER))" >> $$@; diff --git a/payloads/libpayload/tests/drivers/Makefile.inc b/payloads/libpayload/tests/drivers/Makefile.mk index 7705473ef7..7705473ef7 100644 --- a/payloads/libpayload/tests/drivers/Makefile.inc +++ b/payloads/libpayload/tests/drivers/Makefile.mk diff --git a/payloads/libpayload/tests/libc/Makefile.inc b/payloads/libpayload/tests/libc/Makefile.mk index 5f92bdf0a8..5f92bdf0a8 100644 --- a/payloads/libpayload/tests/libc/Makefile.inc +++ b/payloads/libpayload/tests/libc/Makefile.mk diff --git a/payloads/libpayload/tests/libcbfs/Makefile.inc b/payloads/libpayload/tests/libcbfs/Makefile.mk index ad4efedcba..ad4efedcba 100644 --- a/payloads/libpayload/tests/libcbfs/Makefile.inc +++ b/payloads/libpayload/tests/libcbfs/Makefile.mk |