From 8b1aa3887665f4394f27283646c63a8cb437f137 Mon Sep 17 00:00:00 2001 From: Martin Roth Date: Thu, 18 Jan 2024 10:50:40 -0700 Subject: northbridge: 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: Iddac15cc42532f44dda44032be0f8525f6347abd Reviewed-on: https://review.coreboot.org/c/coreboot/+/80070 Reviewed-by: Felix Singer Tested-by: build bot (Jenkins) Reviewed-by: Michael Niewöhner Reviewed-by: Maximilian Brune --- src/northbridge/amd/pi/00730F01/Makefile.inc | 10 ---------- src/northbridge/amd/pi/00730F01/Makefile.mk | 10 ++++++++++ src/northbridge/amd/pi/Makefile.inc | 7 ------- src/northbridge/amd/pi/Makefile.mk | 7 +++++++ 4 files changed, 17 insertions(+), 17 deletions(-) delete mode 100644 src/northbridge/amd/pi/00730F01/Makefile.inc create mode 100644 src/northbridge/amd/pi/00730F01/Makefile.mk delete mode 100644 src/northbridge/amd/pi/Makefile.inc create mode 100644 src/northbridge/amd/pi/Makefile.mk (limited to 'src/northbridge/amd/pi') diff --git a/src/northbridge/amd/pi/00730F01/Makefile.inc b/src/northbridge/amd/pi/00730F01/Makefile.inc deleted file mode 100644 index 8fc4ffce6e..0000000000 --- a/src/northbridge/amd/pi/00730F01/Makefile.inc +++ /dev/null @@ -1,10 +0,0 @@ -# SPDX-License-Identifier: GPL-2.0-only - -romstage-y += dimmSpd.c - -ramstage-y += northbridge.c -ramstage-y += iommu.c -ramstage-y += acpi_tables.c - -romstage-y += state_machine.c -ramstage-y += state_machine.c diff --git a/src/northbridge/amd/pi/00730F01/Makefile.mk b/src/northbridge/amd/pi/00730F01/Makefile.mk new file mode 100644 index 0000000000..8fc4ffce6e --- /dev/null +++ b/src/northbridge/amd/pi/00730F01/Makefile.mk @@ -0,0 +1,10 @@ +# SPDX-License-Identifier: GPL-2.0-only + +romstage-y += dimmSpd.c + +ramstage-y += northbridge.c +ramstage-y += iommu.c +ramstage-y += acpi_tables.c + +romstage-y += state_machine.c +ramstage-y += state_machine.c diff --git a/src/northbridge/amd/pi/Makefile.inc b/src/northbridge/amd/pi/Makefile.inc deleted file mode 100644 index f73b0d5d5a..0000000000 --- a/src/northbridge/amd/pi/Makefile.inc +++ /dev/null @@ -1,7 +0,0 @@ -# SPDX-License-Identifier: GPL-2.0-only - -ifeq ($(CONFIG_NORTHBRIDGE_AMD_PI),y) - -subdirs-$(CONFIG_NORTHBRIDGE_AMD_PI_00730F01) += 00730F01 - -endif diff --git a/src/northbridge/amd/pi/Makefile.mk b/src/northbridge/amd/pi/Makefile.mk new file mode 100644 index 0000000000..f73b0d5d5a --- /dev/null +++ b/src/northbridge/amd/pi/Makefile.mk @@ -0,0 +1,7 @@ +# SPDX-License-Identifier: GPL-2.0-only + +ifeq ($(CONFIG_NORTHBRIDGE_AMD_PI),y) + +subdirs-$(CONFIG_NORTHBRIDGE_AMD_PI_00730F01) += 00730F01 + +endif -- cgit v1.2.3