From b731550236e531552a5855bf32af644316cb9fe4 Mon Sep 17 00:00:00 2001 From: Martin Roth Date: Thu, 18 Jan 2024 10:52:37 -0700 Subject: soc/amd/*: 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 Change-Id: Ie449267fe4fdd75110f577e1b9f748cd06140950 Reviewed-on: https://review.coreboot.org/c/coreboot/+/80071 Tested-by: build bot (Jenkins) Reviewed-by: Arthur Heymans Reviewed-by: Felix Singer --- src/soc/amd/common/block/psp/Makefile.inc | 34 ------------------------------- src/soc/amd/common/block/psp/Makefile.mk | 34 +++++++++++++++++++++++++++++++ 2 files changed, 34 insertions(+), 34 deletions(-) delete mode 100644 src/soc/amd/common/block/psp/Makefile.inc create mode 100644 src/soc/amd/common/block/psp/Makefile.mk (limited to 'src/soc/amd/common/block/psp') diff --git a/src/soc/amd/common/block/psp/Makefile.inc b/src/soc/amd/common/block/psp/Makefile.inc deleted file mode 100644 index d0fbcbe4525b..000000000000 --- a/src/soc/amd/common/block/psp/Makefile.inc +++ /dev/null @@ -1,34 +0,0 @@ -## SPDX-License-Identifier: GPL-2.0-only -ifeq ($(CONFIG_SOC_AMD_COMMON_BLOCK_PSP),y) - -romstage-y += psp.c -ramstage-y += psp.c -smm-y += psp.c -smm-y += psp_smm.c - -bootblock-y += psp_efs.c -verstage-y += psp_efs.c - -endif # CONFIG_SOC_AMD_COMMON_BLOCK_PSP - -ifeq ($(CONFIG_SOC_AMD_COMMON_BLOCK_PSP_GEN1),y) - -romstage-y += psp_gen1.c -ramstage-y += psp_gen1.c -smm-y += psp_gen1.c - -endif # CONFIG_SOC_AMD_COMMON_BLOCK_PSP_GEN1 - -ifeq ($(CONFIG_SOC_AMD_COMMON_BLOCK_PSP_GEN2),y) - -romstage-y += psp_gen2.c -ramstage-y += psp_gen2.c -ramstage-$(CONFIG_PSP_PLATFORM_SECURE_BOOT) += psb.c -ramstage-$(CONFIG_SOC_AMD_COMMON_BLOCK_I2C3_TPM_SHARED_WITH_PSP) += tpm.c - -smm-y += psp_gen2.c -smm-y += psp_smm_gen2.c - -ramstage-$(CONFIG_SOC_AMD_COMMON_BLOCK_PSP_SPL) += spl_fuse.c - -endif # CONFIG_SOC_AMD_COMMON_BLOCK_PSP_GEN2 diff --git a/src/soc/amd/common/block/psp/Makefile.mk b/src/soc/amd/common/block/psp/Makefile.mk new file mode 100644 index 000000000000..d0fbcbe4525b --- /dev/null +++ b/src/soc/amd/common/block/psp/Makefile.mk @@ -0,0 +1,34 @@ +## SPDX-License-Identifier: GPL-2.0-only +ifeq ($(CONFIG_SOC_AMD_COMMON_BLOCK_PSP),y) + +romstage-y += psp.c +ramstage-y += psp.c +smm-y += psp.c +smm-y += psp_smm.c + +bootblock-y += psp_efs.c +verstage-y += psp_efs.c + +endif # CONFIG_SOC_AMD_COMMON_BLOCK_PSP + +ifeq ($(CONFIG_SOC_AMD_COMMON_BLOCK_PSP_GEN1),y) + +romstage-y += psp_gen1.c +ramstage-y += psp_gen1.c +smm-y += psp_gen1.c + +endif # CONFIG_SOC_AMD_COMMON_BLOCK_PSP_GEN1 + +ifeq ($(CONFIG_SOC_AMD_COMMON_BLOCK_PSP_GEN2),y) + +romstage-y += psp_gen2.c +ramstage-y += psp_gen2.c +ramstage-$(CONFIG_PSP_PLATFORM_SECURE_BOOT) += psb.c +ramstage-$(CONFIG_SOC_AMD_COMMON_BLOCK_I2C3_TPM_SHARED_WITH_PSP) += tpm.c + +smm-y += psp_gen2.c +smm-y += psp_smm_gen2.c + +ramstage-$(CONFIG_SOC_AMD_COMMON_BLOCK_PSP_SPL) += spl_fuse.c + +endif # CONFIG_SOC_AMD_COMMON_BLOCK_PSP_GEN2 -- cgit v1.2.3