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 | |
parent | fd96da95c4a36ffae8118400aa8cdab0d50b5060 (diff) | |
download | coreboot-354389365bac2c972749b9fc4fd21c6cd953cb59.tar.gz coreboot-354389365bac2c972749b9fc4fd21c6cd953cb59.tar.bz2 coreboot-354389365bac2c972749b9fc4fd21c6cd953cb59.zip |
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')
-rw-r--r-- | payloads/external/Makefile.mk (renamed from payloads/external/Makefile.inc) | 0 | ||||
-rw-r--r-- | payloads/libpayload/Makefile | 12 | ||||
-rw-r--r-- | payloads/libpayload/Makefile.mk (renamed from payloads/libpayload/Makefile.inc) | 0 | ||||
-rw-r--r-- | payloads/libpayload/arch/arm/Makefile.mk (renamed from payloads/libpayload/arch/arm/Makefile.inc) | 0 | ||||
-rw-r--r-- | payloads/libpayload/arch/arm64/Makefile.mk (renamed from payloads/libpayload/arch/arm64/Makefile.inc) | 0 | ||||
-rw-r--r-- | payloads/libpayload/arch/mock/Makefile.mk (renamed from payloads/libpayload/arch/mock/Makefile.inc) | 0 | ||||
-rw-r--r-- | payloads/libpayload/arch/x86/Makefile.mk (renamed from payloads/libpayload/arch/x86/Makefile.inc) | 0 | ||||
-rw-r--r-- | payloads/libpayload/crypto/Makefile.mk (renamed from payloads/libpayload/crypto/Makefile.inc) | 0 | ||||
-rw-r--r-- | payloads/libpayload/curses/Makefile.mk (renamed from payloads/libpayload/curses/Makefile.inc) | 0 | ||||
-rw-r--r-- | payloads/libpayload/drivers/Makefile.mk (renamed from payloads/libpayload/drivers/Makefile.inc) | 0 | ||||
-rw-r--r-- | payloads/libpayload/gdb/Makefile.mk (renamed from payloads/libpayload/gdb/Makefile.inc) | 0 | ||||
-rw-r--r-- | payloads/libpayload/libc/Makefile.mk (renamed from payloads/libpayload/libc/Makefile.inc) | 0 | ||||
-rw-r--r-- | payloads/libpayload/libcbfs/Makefile.mk (renamed from payloads/libpayload/libcbfs/Makefile.inc) | 0 | ||||
-rw-r--r-- | payloads/libpayload/liblz4/Makefile.mk (renamed from payloads/libpayload/liblz4/Makefile.inc) | 0 | ||||
-rw-r--r-- | payloads/libpayload/liblzma/Makefile.mk (renamed from payloads/libpayload/liblzma/Makefile.inc) | 0 | ||||
-rw-r--r-- | payloads/libpayload/libpci/Makefile.mk (renamed from payloads/libpayload/libpci/Makefile.inc) | 0 | ||||
-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 | ||||
-rw-r--r-- | payloads/libpayload/vboot/Makefile.mk (renamed from payloads/libpayload/vboot/Makefile.inc) | 0 |
21 files changed, 7 insertions, 7 deletions
diff --git a/payloads/external/Makefile.inc b/payloads/external/Makefile.mk index c87f140da4f8..c87f140da4f8 100644 --- a/payloads/external/Makefile.inc +++ b/payloads/external/Makefile.mk diff --git a/payloads/libpayload/Makefile b/payloads/libpayload/Makefile index 212e67ea7965..71d60bce9ba4 100644 --- a/payloads/libpayload/Makefile +++ b/payloads/libpayload/Makefile @@ -56,7 +56,7 @@ export KCONFIG_NEGATIVES := 1 export KBUILD_KCONFIG := Kconfig export CONFIG_ := CONFIG_LP_ -# directory containing the toplevel Makefile.inc +# directory containing the toplevel Makefile.mk TOPLEVEL := . CONFIG_LP_SHELL := sh @@ -159,8 +159,8 @@ $(xcompile): $(top)/../../util/xcompile/xcompile \mv -f $@.tmp $@ 2> /dev/null ifeq ($(NOCOMPILE),1) -include $(TOPLEVEL)/Makefile.inc -include $(TOPLEVEL)/tests/Makefile.inc +include $(TOPLEVEL)/Makefile.mk +include $(TOPLEVEL)/tests/Makefile.mk real-all: config else @@ -285,7 +285,7 @@ add-special-class= \ $(eval $(1):=) \ $(eval special-classes+=$(1)) -# Clean -y variables, include Makefile.inc +# Clean -y variables, include Makefile.mk # Add paths to files in X-y to X-srcs # Add subdirs-y to subdirs includemakefiles= \ @@ -308,7 +308,7 @@ evaluate_subdirs= \ $(eval cursubdirs:=$(subdirs)) \ $(eval subdirs:=) \ $(foreach dir,$(cursubdirs), \ - $(eval $(call includemakefiles,$(dir)/Makefile.inc))) \ + $(eval $(call includemakefiles,$(dir)/Makefile.mk))) \ $(if $(subdirs),$(eval $(call evaluate_subdirs))) # collect all object files eligible for building or run unit-tests @@ -316,7 +316,7 @@ ifneq ($(UNIT_TEST),1) subdirs:=$(TOPLEVEL) $(eval $(call evaluate_subdirs)) else -include $(TOPLEVEL)/tests/Makefile.inc +include $(TOPLEVEL)/tests/Makefile.mk endif # Converts one or more source file paths to the corresponding build/ paths. diff --git a/payloads/libpayload/Makefile.inc b/payloads/libpayload/Makefile.mk index 61f932f1d6e3..61f932f1d6e3 100644 --- a/payloads/libpayload/Makefile.inc +++ b/payloads/libpayload/Makefile.mk diff --git a/payloads/libpayload/arch/arm/Makefile.inc b/payloads/libpayload/arch/arm/Makefile.mk index c9736010c8f7..c9736010c8f7 100644 --- a/payloads/libpayload/arch/arm/Makefile.inc +++ b/payloads/libpayload/arch/arm/Makefile.mk diff --git a/payloads/libpayload/arch/arm64/Makefile.inc b/payloads/libpayload/arch/arm64/Makefile.mk index 6eb9fe83256c..6eb9fe83256c 100644 --- a/payloads/libpayload/arch/arm64/Makefile.inc +++ b/payloads/libpayload/arch/arm64/Makefile.mk diff --git a/payloads/libpayload/arch/mock/Makefile.inc b/payloads/libpayload/arch/mock/Makefile.mk index 415886af6051..415886af6051 100644 --- a/payloads/libpayload/arch/mock/Makefile.inc +++ b/payloads/libpayload/arch/mock/Makefile.mk diff --git a/payloads/libpayload/arch/x86/Makefile.inc b/payloads/libpayload/arch/x86/Makefile.mk index 653412ef5af7..653412ef5af7 100644 --- a/payloads/libpayload/arch/x86/Makefile.inc +++ b/payloads/libpayload/arch/x86/Makefile.mk diff --git a/payloads/libpayload/crypto/Makefile.inc b/payloads/libpayload/crypto/Makefile.mk index 7e8e210e45e8..7e8e210e45e8 100644 --- a/payloads/libpayload/crypto/Makefile.inc +++ b/payloads/libpayload/crypto/Makefile.mk diff --git a/payloads/libpayload/curses/Makefile.inc b/payloads/libpayload/curses/Makefile.mk index 99f8d70e05b5..99f8d70e05b5 100644 --- a/payloads/libpayload/curses/Makefile.inc +++ b/payloads/libpayload/curses/Makefile.mk diff --git a/payloads/libpayload/drivers/Makefile.inc b/payloads/libpayload/drivers/Makefile.mk index 23471b83c456..23471b83c456 100644 --- a/payloads/libpayload/drivers/Makefile.inc +++ b/payloads/libpayload/drivers/Makefile.mk diff --git a/payloads/libpayload/gdb/Makefile.inc b/payloads/libpayload/gdb/Makefile.mk index 60e18bcb010c..60e18bcb010c 100644 --- a/payloads/libpayload/gdb/Makefile.inc +++ b/payloads/libpayload/gdb/Makefile.mk diff --git a/payloads/libpayload/libc/Makefile.inc b/payloads/libpayload/libc/Makefile.mk index 2d277da3b5b0..2d277da3b5b0 100644 --- a/payloads/libpayload/libc/Makefile.inc +++ b/payloads/libpayload/libc/Makefile.mk diff --git a/payloads/libpayload/libcbfs/Makefile.inc b/payloads/libpayload/libcbfs/Makefile.mk index 53e6f7fa4309..53e6f7fa4309 100644 --- a/payloads/libpayload/libcbfs/Makefile.inc +++ b/payloads/libpayload/libcbfs/Makefile.mk diff --git a/payloads/libpayload/liblz4/Makefile.inc b/payloads/libpayload/liblz4/Makefile.mk index 272a5a5c464a..272a5a5c464a 100644 --- a/payloads/libpayload/liblz4/Makefile.inc +++ b/payloads/libpayload/liblz4/Makefile.mk diff --git a/payloads/libpayload/liblzma/Makefile.inc b/payloads/libpayload/liblzma/Makefile.mk index 5aef5c33abd5..5aef5c33abd5 100644 --- a/payloads/libpayload/liblzma/Makefile.inc +++ b/payloads/libpayload/liblzma/Makefile.mk diff --git a/payloads/libpayload/libpci/Makefile.inc b/payloads/libpayload/libpci/Makefile.mk index 43574e8c97ba..43574e8c97ba 100644 --- a/payloads/libpayload/libpci/Makefile.inc +++ b/payloads/libpayload/libpci/Makefile.mk diff --git a/payloads/libpayload/tests/Makefile.inc b/payloads/libpayload/tests/Makefile.mk index dede3404c5f4..e271a7cea895 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 7705473ef750..7705473ef750 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 5f92bdf0a895..5f92bdf0a895 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 ad4efedcba95..ad4efedcba95 100644 --- a/payloads/libpayload/tests/libcbfs/Makefile.inc +++ b/payloads/libpayload/tests/libcbfs/Makefile.mk diff --git a/payloads/libpayload/vboot/Makefile.inc b/payloads/libpayload/vboot/Makefile.mk index bdc9ad2ad67a..bdc9ad2ad67a 100644 --- a/payloads/libpayload/vboot/Makefile.inc +++ b/payloads/libpayload/vboot/Makefile.mk |