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/acpi/Makefile.inc | 21 --------------------- src/soc/amd/common/block/acpi/Makefile.mk | 21 +++++++++++++++++++++ 2 files changed, 21 insertions(+), 21 deletions(-) delete mode 100644 src/soc/amd/common/block/acpi/Makefile.inc create mode 100644 src/soc/amd/common/block/acpi/Makefile.mk (limited to 'src/soc/amd/common/block/acpi') diff --git a/src/soc/amd/common/block/acpi/Makefile.inc b/src/soc/amd/common/block/acpi/Makefile.inc deleted file mode 100644 index 763a3bc61a..0000000000 --- a/src/soc/amd/common/block/acpi/Makefile.inc +++ /dev/null @@ -1,21 +0,0 @@ -## SPDX-License-Identifier: GPL-2.0-only -ifeq ($(CONFIG_SOC_AMD_COMMON_BLOCK_ACPI),y) - -all_x86-y += acpi.c -smm-y += acpi.c - -ramstage-y += pm_state.c -ramstage-y += tables.c -ramstage-$(CONFIG_ACPI_BERT) += bert.c -ramstage-$(CONFIG_SOC_AMD_COMMON_BLOCK_ACPI_ALIB) += alib.c -ramstage-$(CONFIG_SOC_AMD_COMMON_BLOCK_ACPI_CPPC) += cppc.c -ramstage-$(CONFIG_SOC_AMD_COMMON_BLOCK_ACPI_CPU_POWER_STATE) += cpu_power_state.c -ramstage-$(CONFIG_SOC_AMD_COMMON_BLOCK_ACPI_GPIO) += gpio.c -ramstage-$(CONFIG_SOC_AMD_COMMON_BLOCK_ACPI_IVRS) += ivrs.c -ramstage-$(CONFIG_SOC_AMD_COMMON_BLOCK_ACPI_MADT) += madt.c - -romstage-y += elog.c -ramstage-y += elog.c -smm-y += elog.c - -endif # CONFIG_SOC_AMD_COMMON_BLOCK_ACPI diff --git a/src/soc/amd/common/block/acpi/Makefile.mk b/src/soc/amd/common/block/acpi/Makefile.mk new file mode 100644 index 0000000000..763a3bc61a --- /dev/null +++ b/src/soc/amd/common/block/acpi/Makefile.mk @@ -0,0 +1,21 @@ +## SPDX-License-Identifier: GPL-2.0-only +ifeq ($(CONFIG_SOC_AMD_COMMON_BLOCK_ACPI),y) + +all_x86-y += acpi.c +smm-y += acpi.c + +ramstage-y += pm_state.c +ramstage-y += tables.c +ramstage-$(CONFIG_ACPI_BERT) += bert.c +ramstage-$(CONFIG_SOC_AMD_COMMON_BLOCK_ACPI_ALIB) += alib.c +ramstage-$(CONFIG_SOC_AMD_COMMON_BLOCK_ACPI_CPPC) += cppc.c +ramstage-$(CONFIG_SOC_AMD_COMMON_BLOCK_ACPI_CPU_POWER_STATE) += cpu_power_state.c +ramstage-$(CONFIG_SOC_AMD_COMMON_BLOCK_ACPI_GPIO) += gpio.c +ramstage-$(CONFIG_SOC_AMD_COMMON_BLOCK_ACPI_IVRS) += ivrs.c +ramstage-$(CONFIG_SOC_AMD_COMMON_BLOCK_ACPI_MADT) += madt.c + +romstage-y += elog.c +ramstage-y += elog.c +smm-y += elog.c + +endif # CONFIG_SOC_AMD_COMMON_BLOCK_ACPI -- cgit v1.2.3