From fd96da95c4a36ffae8118400aa8cdab0d50b5060 Mon Sep 17 00:00:00 2001 From: Martin Roth Date: Thu, 18 Jan 2024 12:31:22 -0700 Subject: device, security: 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: I41f8a9b5d1bdb647a915da1a5e95161b2e34df28 Reviewed-on: https://review.coreboot.org/c/coreboot/+/80082 Reviewed-by: Michael Niewöhner Reviewed-by: Maximilian Brune Reviewed-by: Felix Singer Tested-by: build bot (Jenkins) --- src/security/memory/Makefile.inc | 7 ------- src/security/memory/Makefile.mk | 7 +++++++ 2 files changed, 7 insertions(+), 7 deletions(-) delete mode 100644 src/security/memory/Makefile.inc create mode 100644 src/security/memory/Makefile.mk (limited to 'src/security/memory') diff --git a/src/security/memory/Makefile.inc b/src/security/memory/Makefile.inc deleted file mode 100644 index 4f07bbbcb4..0000000000 --- a/src/security/memory/Makefile.inc +++ /dev/null @@ -1,7 +0,0 @@ -## SPDX-License-Identifier: GPL-2.0-only - -romstage-$(CONFIG_PLATFORM_HAS_DRAM_CLEAR) += memory.c -postcar-$(CONFIG_PLATFORM_HAS_DRAM_CLEAR) += memory.c -ramstage-$(CONFIG_PLATFORM_HAS_DRAM_CLEAR) += memory.c - -ramstage-$(CONFIG_PLATFORM_HAS_DRAM_CLEAR) += memory_clear.c diff --git a/src/security/memory/Makefile.mk b/src/security/memory/Makefile.mk new file mode 100644 index 0000000000..4f07bbbcb4 --- /dev/null +++ b/src/security/memory/Makefile.mk @@ -0,0 +1,7 @@ +## SPDX-License-Identifier: GPL-2.0-only + +romstage-$(CONFIG_PLATFORM_HAS_DRAM_CLEAR) += memory.c +postcar-$(CONFIG_PLATFORM_HAS_DRAM_CLEAR) += memory.c +ramstage-$(CONFIG_PLATFORM_HAS_DRAM_CLEAR) += memory.c + +ramstage-$(CONFIG_PLATFORM_HAS_DRAM_CLEAR) += memory_clear.c -- cgit v1.2.3