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/intel/sandybridge/Makefile.inc | 43 -------------------------- src/northbridge/intel/sandybridge/Makefile.mk | 43 ++++++++++++++++++++++++++ 2 files changed, 43 insertions(+), 43 deletions(-) delete mode 100644 src/northbridge/intel/sandybridge/Makefile.inc create mode 100644 src/northbridge/intel/sandybridge/Makefile.mk (limited to 'src/northbridge/intel/sandybridge') diff --git a/src/northbridge/intel/sandybridge/Makefile.inc b/src/northbridge/intel/sandybridge/Makefile.inc deleted file mode 100644 index 6ecb17a378..0000000000 --- a/src/northbridge/intel/sandybridge/Makefile.inc +++ /dev/null @@ -1,43 +0,0 @@ -## SPDX-License-Identifier: GPL-2.0-only - -ifeq ($(CONFIG_NORTHBRIDGE_INTEL_SANDYBRIDGE),y) - -bootblock-y += bootblock.c - -ramstage-y += memmap.c -ramstage-y += northbridge.c -ramstage-y += pcie.c -ramstage-y += gma.c - -ramstage-y += acpi.c - -romstage-y += memmap.c - -ramstage-y += common.c -romstage-y += common.c -smm-y += common.c - -romstage-y += raminit_shared.c -ifeq ($(CONFIG_USE_NATIVE_RAMINIT),y) -romstage-y += early_dmi.c -romstage-y += raminit.c -romstage-y += raminit_common.c -romstage-y += raminit_iosav.c -romstage-y += raminit_native.c -romstage-y += raminit_tables.c -else -romstage-y += raminit_mrc.c -romstage-y += mrc_wrapper.S -cbfs-files-y += mrc.bin -mrc.bin-file := $(call strip_quotes,$(CONFIG_MRC_FILE)) -mrc.bin-position := 0xfffa0000 -mrc.bin-type := mrc -endif -romstage-y += romstage.c -romstage-y += early_init.c - -smm-y += finalize.c - -postcar-y += memmap.c - -endif diff --git a/src/northbridge/intel/sandybridge/Makefile.mk b/src/northbridge/intel/sandybridge/Makefile.mk new file mode 100644 index 0000000000..6ecb17a378 --- /dev/null +++ b/src/northbridge/intel/sandybridge/Makefile.mk @@ -0,0 +1,43 @@ +## SPDX-License-Identifier: GPL-2.0-only + +ifeq ($(CONFIG_NORTHBRIDGE_INTEL_SANDYBRIDGE),y) + +bootblock-y += bootblock.c + +ramstage-y += memmap.c +ramstage-y += northbridge.c +ramstage-y += pcie.c +ramstage-y += gma.c + +ramstage-y += acpi.c + +romstage-y += memmap.c + +ramstage-y += common.c +romstage-y += common.c +smm-y += common.c + +romstage-y += raminit_shared.c +ifeq ($(CONFIG_USE_NATIVE_RAMINIT),y) +romstage-y += early_dmi.c +romstage-y += raminit.c +romstage-y += raminit_common.c +romstage-y += raminit_iosav.c +romstage-y += raminit_native.c +romstage-y += raminit_tables.c +else +romstage-y += raminit_mrc.c +romstage-y += mrc_wrapper.S +cbfs-files-y += mrc.bin +mrc.bin-file := $(call strip_quotes,$(CONFIG_MRC_FILE)) +mrc.bin-position := 0xfffa0000 +mrc.bin-type := mrc +endif +romstage-y += romstage.c +romstage-y += early_init.c + +smm-y += finalize.c + +postcar-y += memmap.c + +endif -- cgit v1.2.3