From b028636d02f63881e4663ff0f1ae435c00865615 Mon Sep 17 00:00:00 2001 From: Martin Roth Date: Thu, 18 Jan 2024 10:48:28 -0700 Subject: cpu: 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: I552d487978906f5ea74c3d0d85373fe5b2de3f38 Reviewed-on: https://review.coreboot.org/c/coreboot/+/80068 Reviewed-by: Michael Niewöhner Tested-by: build bot (Jenkins) Reviewed-by: Felix Singer Reviewed-by: Maximilian Brune --- src/cpu/intel/smm/Makefile.inc | 3 --- src/cpu/intel/smm/Makefile.mk | 3 +++ src/cpu/intel/smm/gen1/Makefile.inc | 3 --- src/cpu/intel/smm/gen1/Makefile.mk | 3 +++ 4 files changed, 6 insertions(+), 6 deletions(-) delete mode 100644 src/cpu/intel/smm/Makefile.inc create mode 100644 src/cpu/intel/smm/Makefile.mk delete mode 100644 src/cpu/intel/smm/gen1/Makefile.inc create mode 100644 src/cpu/intel/smm/gen1/Makefile.mk (limited to 'src/cpu/intel/smm') diff --git a/src/cpu/intel/smm/Makefile.inc b/src/cpu/intel/smm/Makefile.inc deleted file mode 100644 index b8e81b82ce..0000000000 --- a/src/cpu/intel/smm/Makefile.inc +++ /dev/null @@ -1,3 +0,0 @@ -## SPDX-License-Identifier: GPL-2.0-only - -ramstage-$(CONFIG_HAVE_SMI_HANDLER) += smm_reloc.c diff --git a/src/cpu/intel/smm/Makefile.mk b/src/cpu/intel/smm/Makefile.mk new file mode 100644 index 0000000000..b8e81b82ce --- /dev/null +++ b/src/cpu/intel/smm/Makefile.mk @@ -0,0 +1,3 @@ +## SPDX-License-Identifier: GPL-2.0-only + +ramstage-$(CONFIG_HAVE_SMI_HANDLER) += smm_reloc.c diff --git a/src/cpu/intel/smm/gen1/Makefile.inc b/src/cpu/intel/smm/gen1/Makefile.inc deleted file mode 100644 index 0eb8e33d48..0000000000 --- a/src/cpu/intel/smm/gen1/Makefile.inc +++ /dev/null @@ -1,3 +0,0 @@ -## SPDX-License-Identifier: GPL-2.0-only - -ramstage-$(CONFIG_HAVE_SMI_HANDLER) += smmrelocate.c diff --git a/src/cpu/intel/smm/gen1/Makefile.mk b/src/cpu/intel/smm/gen1/Makefile.mk new file mode 100644 index 0000000000..0eb8e33d48 --- /dev/null +++ b/src/cpu/intel/smm/gen1/Makefile.mk @@ -0,0 +1,3 @@ +## SPDX-License-Identifier: GPL-2.0-only + +ramstage-$(CONFIG_HAVE_SMI_HANDLER) += smmrelocate.c -- cgit v1.2.3