From 030e6439511de66e25c997eb50ee3abab1759b3b Mon Sep 17 00:00:00 2001 From: Martin Roth Date: Thu, 18 Jan 2024 16:12:31 -0700 Subject: mb/lenovo to mb/squared: 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: I4790adb41cb62c8c8dd44261a2926dfb6350955a Reviewed-on: https://review.coreboot.org/c/coreboot/+/80111 Reviewed-by: Felix Singer Tested-by: build bot (Jenkins) Reviewed-by: Erik van den Bogaert Reviewed-by: Maximilian Brune --- src/mainboard/lenovo/t400/Makefile.inc | 18 ------------------ src/mainboard/lenovo/t400/Makefile.mk | 18 ++++++++++++++++++ 2 files changed, 18 insertions(+), 18 deletions(-) delete mode 100644 src/mainboard/lenovo/t400/Makefile.inc create mode 100644 src/mainboard/lenovo/t400/Makefile.mk (limited to 'src/mainboard/lenovo/t400') diff --git a/src/mainboard/lenovo/t400/Makefile.inc b/src/mainboard/lenovo/t400/Makefile.inc deleted file mode 100644 index 982c2098d0..0000000000 --- a/src/mainboard/lenovo/t400/Makefile.inc +++ /dev/null @@ -1,18 +0,0 @@ -## SPDX-License-Identifier: GPL-2.0-only - -bootblock-y += bootblock.c -bootblock-y += dock.c - -romstage-y += variants/$(VARIANT_DIR)/gpio.c - -ramstage-y += dock.c -ramstage-y += cstates.c -ramstage-y += blc.c - -ifeq ($(CONFIG_MAINBOARD_USE_LIBGFXINIT),y) -ramstage-$(CONFIG_BOARD_LENOVO_T400) += variants/t400/malibu-3/gma-mainboard.ads -ramstage-$(CONFIG_BOARD_LENOVO_R400) += variants/t400/malibu-3/gma-mainboard.ads -ramstage-$(CONFIG_BOARD_LENOVO_T500) += variants/t400/coronado-5/gma-mainboard.ads -ramstage-$(CONFIG_BOARD_LENOVO_W500) += variants/t400/coronado-5/gma-mainboard.ads -ramstage-$(CONFIG_BOARD_LENOVO_R500) += variants/r500/gma-mainboard.ads -endif diff --git a/src/mainboard/lenovo/t400/Makefile.mk b/src/mainboard/lenovo/t400/Makefile.mk new file mode 100644 index 0000000000..982c2098d0 --- /dev/null +++ b/src/mainboard/lenovo/t400/Makefile.mk @@ -0,0 +1,18 @@ +## SPDX-License-Identifier: GPL-2.0-only + +bootblock-y += bootblock.c +bootblock-y += dock.c + +romstage-y += variants/$(VARIANT_DIR)/gpio.c + +ramstage-y += dock.c +ramstage-y += cstates.c +ramstage-y += blc.c + +ifeq ($(CONFIG_MAINBOARD_USE_LIBGFXINIT),y) +ramstage-$(CONFIG_BOARD_LENOVO_T400) += variants/t400/malibu-3/gma-mainboard.ads +ramstage-$(CONFIG_BOARD_LENOVO_R400) += variants/t400/malibu-3/gma-mainboard.ads +ramstage-$(CONFIG_BOARD_LENOVO_T500) += variants/t400/coronado-5/gma-mainboard.ads +ramstage-$(CONFIG_BOARD_LENOVO_W500) += variants/t400/coronado-5/gma-mainboard.ads +ramstage-$(CONFIG_BOARD_LENOVO_R500) += variants/r500/gma-mainboard.ads +endif -- cgit v1.2.3