From 3d606cffb115bbb541eea1713092e4472a5a6923 Mon Sep 17 00:00:00 2001 From: Martin Roth Date: Thu, 18 Jan 2024 15:52:48 -0700 Subject: mb/51nb to mb/gigabyte: 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: I422cb475723006ca42be93508fb0bf4b1e4e84d3 Reviewed-on: https://review.coreboot.org/c/coreboot/+/80104 Reviewed-by: Maximilian Brune Reviewed-by: Erik van den Bogaert Tested-by: build bot (Jenkins) Reviewed-by: Felix Singer --- .../dell/snb_ivb_workstations/Makefile.inc | 28 ---------------------- .../dell/snb_ivb_workstations/Makefile.mk | 28 ++++++++++++++++++++++ 2 files changed, 28 insertions(+), 28 deletions(-) delete mode 100644 src/mainboard/dell/snb_ivb_workstations/Makefile.inc create mode 100644 src/mainboard/dell/snb_ivb_workstations/Makefile.mk (limited to 'src/mainboard/dell/snb_ivb_workstations') diff --git a/src/mainboard/dell/snb_ivb_workstations/Makefile.inc b/src/mainboard/dell/snb_ivb_workstations/Makefile.inc deleted file mode 100644 index a53d8c19d3..0000000000 --- a/src/mainboard/dell/snb_ivb_workstations/Makefile.inc +++ /dev/null @@ -1,28 +0,0 @@ -# SPDX-License-Identifier: GPL-2.0-only - -bootblock-y += gpio.c -romstage-y += gpio.c - -bootblock-y += early_init.c -romstage-y += early_init.c - -bootblock-y += sch5545_ec_early.c - -romstage-y += sch5545_ec.c -ramstage-y += sch5545_ec.c - -ramstage-$(CONFIG_MAINBOARD_USE_LIBGFXINIT) += gma-mainboard.ads - -ramstage-y += variants/$(VARIANT_DIR)/hda_verb.c - -ifeq ($(CONFIG_INCLUDE_SMSC_SCH5545_EC_FW),y) -cbfs-files-y += sch5545_ecfw.bin -sch5545_ecfw.bin-file := $(call strip_quotes,$(CONFIG_SMSC_SCH5545_EC_FW_FILE)) -sch5545_ecfw.bin-type := raw -endif - -subdirs-y += variants/baseboard -CPPFLAGS_common += -I$(src)/mainboard/$(MAINBOARDDIR)/variants/baseboard/include - -subdirs-y += variants/$(VARIANT_DIR) -CPPFLAGS_common += -I$(src)/mainboard/$(MAINBOARDDIR)/variants/$(VARIANT_DIR)/include diff --git a/src/mainboard/dell/snb_ivb_workstations/Makefile.mk b/src/mainboard/dell/snb_ivb_workstations/Makefile.mk new file mode 100644 index 0000000000..a53d8c19d3 --- /dev/null +++ b/src/mainboard/dell/snb_ivb_workstations/Makefile.mk @@ -0,0 +1,28 @@ +# SPDX-License-Identifier: GPL-2.0-only + +bootblock-y += gpio.c +romstage-y += gpio.c + +bootblock-y += early_init.c +romstage-y += early_init.c + +bootblock-y += sch5545_ec_early.c + +romstage-y += sch5545_ec.c +ramstage-y += sch5545_ec.c + +ramstage-$(CONFIG_MAINBOARD_USE_LIBGFXINIT) += gma-mainboard.ads + +ramstage-y += variants/$(VARIANT_DIR)/hda_verb.c + +ifeq ($(CONFIG_INCLUDE_SMSC_SCH5545_EC_FW),y) +cbfs-files-y += sch5545_ecfw.bin +sch5545_ecfw.bin-file := $(call strip_quotes,$(CONFIG_SMSC_SCH5545_EC_FW_FILE)) +sch5545_ecfw.bin-type := raw +endif + +subdirs-y += variants/baseboard +CPPFLAGS_common += -I$(src)/mainboard/$(MAINBOARDDIR)/variants/baseboard/include + +subdirs-y += variants/$(VARIANT_DIR) +CPPFLAGS_common += -I$(src)/mainboard/$(MAINBOARDDIR)/variants/$(VARIANT_DIR)/include -- cgit v1.2.3