From d8796e50f322ea81fb61ebfce60f3f4d82d0bf2c Mon Sep 17 00:00:00 2001 From: Martin Roth Date: Thu, 18 Jan 2024 10:49:48 -0700 Subject: ec: Rename Makefiles from .inc to .mk MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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: Ic060f3605cd18d4bf774573c21957f626f984e2c Reviewed-on: https://review.coreboot.org/c/coreboot/+/80069 Reviewed-by: Felix Singer Reviewed-by: Maximilian Brune Tested-by: build bot (Jenkins) Reviewed-by: Michael Niewöhner --- src/ec/lenovo/pmh7/Makefile.inc | 9 --------- src/ec/lenovo/pmh7/Makefile.mk | 9 +++++++++ 2 files changed, 9 insertions(+), 9 deletions(-) delete mode 100644 src/ec/lenovo/pmh7/Makefile.inc create mode 100644 src/ec/lenovo/pmh7/Makefile.mk (limited to 'src/ec/lenovo/pmh7') diff --git a/src/ec/lenovo/pmh7/Makefile.inc b/src/ec/lenovo/pmh7/Makefile.inc deleted file mode 100644 index 4f8c99f125..0000000000 --- a/src/ec/lenovo/pmh7/Makefile.inc +++ /dev/null @@ -1,9 +0,0 @@ -## SPDX-License-Identifier: GPL-2.0-only -ifeq ($(CONFIG_EC_LENOVO_PMH7),y) - -bootblock-y += pmh7.c -ramstage-y += pmh7.c -smm-y += pmh7.c -romstage-y += pmh7.c - -endif diff --git a/src/ec/lenovo/pmh7/Makefile.mk b/src/ec/lenovo/pmh7/Makefile.mk new file mode 100644 index 0000000000..4f8c99f125 --- /dev/null +++ b/src/ec/lenovo/pmh7/Makefile.mk @@ -0,0 +1,9 @@ +## SPDX-License-Identifier: GPL-2.0-only +ifeq ($(CONFIG_EC_LENOVO_PMH7),y) + +bootblock-y += pmh7.c +ramstage-y += pmh7.c +smm-y += pmh7.c +romstage-y += pmh7.c + +endif -- cgit v1.2.3