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/pi/Makefile.mk | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 src/soc/amd/common/pi/Makefile.mk (limited to 'src/soc/amd/common/pi/Makefile.mk') diff --git a/src/soc/amd/common/pi/Makefile.mk b/src/soc/amd/common/pi/Makefile.mk new file mode 100644 index 0000000000..8fcc4c0cf4 --- /dev/null +++ b/src/soc/amd/common/pi/Makefile.mk @@ -0,0 +1,23 @@ +## SPDX-License-Identifier: GPL-2.0-only +ifeq ($(CONFIG_SOC_AMD_PI),y) + +romstage-y += agesawrapper.c +romstage-y += def_callouts.c +romstage-y += heapmanager.c +romstage-y += image.c +romstage-y += refcode_loader.c +romstage-y += s3_resume.c + +ramstage-y += agesawrapper.c +ramstage-y += amd_late_init.c +ramstage-$(CONFIG_HAVE_ACPI_RESUME) += amd_resume_final.c +ramstage-y += def_callouts.c +ramstage-y += heapmanager.c +ramstage-y += image.c +ramstage-y += refcode_loader.c +ramstage-y += s3_resume.c + +CFLAGS_x86_32 += -Wno-pragma-pack +CFLAGS_x86_64 += -Wno-pragma-pack + +endif # CONFIG_SOC_AMD_PI -- cgit v1.2.3