From 403d4a984d33aafc8c7beb97f0c039e3e4d79726 Mon Sep 17 00:00:00 2001 From: Martin Roth Date: Thu, 18 Jan 2024 16:11:39 -0700 Subject: mb/hp to mb/kontron: 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: Icfdadfa6705a64655b38aca25be0818ec26429f9 Reviewed-on: https://review.coreboot.org/c/coreboot/+/80110 Reviewed-by: Maximilian Brune Reviewed-by: Felix Singer Tested-by: build bot (Jenkins) --- src/mainboard/intel/coffeelake_rvp/Makefile.inc | 21 --------------------- src/mainboard/intel/coffeelake_rvp/Makefile.mk | 21 +++++++++++++++++++++ .../coffeelake_rvp/variants/baseboard/Makefile.inc | 6 ------ .../coffeelake_rvp/variants/baseboard/Makefile.mk | 6 ++++++ 4 files changed, 27 insertions(+), 27 deletions(-) delete mode 100644 src/mainboard/intel/coffeelake_rvp/Makefile.inc create mode 100644 src/mainboard/intel/coffeelake_rvp/Makefile.mk delete mode 100644 src/mainboard/intel/coffeelake_rvp/variants/baseboard/Makefile.inc create mode 100644 src/mainboard/intel/coffeelake_rvp/variants/baseboard/Makefile.mk (limited to 'src/mainboard/intel/coffeelake_rvp') diff --git a/src/mainboard/intel/coffeelake_rvp/Makefile.inc b/src/mainboard/intel/coffeelake_rvp/Makefile.inc deleted file mode 100644 index 57e73bcf72..0000000000 --- a/src/mainboard/intel/coffeelake_rvp/Makefile.inc +++ /dev/null @@ -1,21 +0,0 @@ -## SPDX-License-Identifier: GPL-2.0-only - -bootblock-y += bootblock.c -bootblock-$(CONFIG_CHROMEOS) += chromeos.c - -verstage-$(CONFIG_CHROMEOS) += chromeos.c - -romstage-$(CONFIG_CHROMEOS) += chromeos.c -romstage-y += memory.c - -ramstage-$(CONFIG_CHROMEOS) += chromeos.c -ramstage-y += mainboard.c -ramstage-$(CONFIG_SOC_INTEL_COMMON_BLOCK_HDA_VERB) += variants/$(VARIANT_DIR)/hda_verb.c - -subdirs-y += variants/baseboard -CPPFLAGS_common += -I$(src)/mainboard/$(MAINBOARDDIR)/variants/baseboard/include - -subdirs-y += variants/$(VARIANT_DIR) -ifeq ($(CONFIG_BOARD_INTEL_COMETLAKE_RVPU)$(CONFIG_BOARD_INTEL_WHISKEYLAKE_RVP),y) -CPPFLAGS_common += -I$(src)/mainboard/$(MAINBOARDDIR)/variants/$(VARIANT_DIR)/include -endif diff --git a/src/mainboard/intel/coffeelake_rvp/Makefile.mk b/src/mainboard/intel/coffeelake_rvp/Makefile.mk new file mode 100644 index 0000000000..57e73bcf72 --- /dev/null +++ b/src/mainboard/intel/coffeelake_rvp/Makefile.mk @@ -0,0 +1,21 @@ +## SPDX-License-Identifier: GPL-2.0-only + +bootblock-y += bootblock.c +bootblock-$(CONFIG_CHROMEOS) += chromeos.c + +verstage-$(CONFIG_CHROMEOS) += chromeos.c + +romstage-$(CONFIG_CHROMEOS) += chromeos.c +romstage-y += memory.c + +ramstage-$(CONFIG_CHROMEOS) += chromeos.c +ramstage-y += mainboard.c +ramstage-$(CONFIG_SOC_INTEL_COMMON_BLOCK_HDA_VERB) += variants/$(VARIANT_DIR)/hda_verb.c + +subdirs-y += variants/baseboard +CPPFLAGS_common += -I$(src)/mainboard/$(MAINBOARDDIR)/variants/baseboard/include + +subdirs-y += variants/$(VARIANT_DIR) +ifeq ($(CONFIG_BOARD_INTEL_COMETLAKE_RVPU)$(CONFIG_BOARD_INTEL_WHISKEYLAKE_RVP),y) +CPPFLAGS_common += -I$(src)/mainboard/$(MAINBOARDDIR)/variants/$(VARIANT_DIR)/include +endif diff --git a/src/mainboard/intel/coffeelake_rvp/variants/baseboard/Makefile.inc b/src/mainboard/intel/coffeelake_rvp/variants/baseboard/Makefile.inc deleted file mode 100644 index 476f28f18c..0000000000 --- a/src/mainboard/intel/coffeelake_rvp/variants/baseboard/Makefile.inc +++ /dev/null @@ -1,6 +0,0 @@ -## SPDX-License-Identifier: GPL-2.0-only - -bootblock-y += gpio.c - -ramstage-y += gpio.c -ramstage-y += nhlt.c diff --git a/src/mainboard/intel/coffeelake_rvp/variants/baseboard/Makefile.mk b/src/mainboard/intel/coffeelake_rvp/variants/baseboard/Makefile.mk new file mode 100644 index 0000000000..476f28f18c --- /dev/null +++ b/src/mainboard/intel/coffeelake_rvp/variants/baseboard/Makefile.mk @@ -0,0 +1,6 @@ +## SPDX-License-Identifier: GPL-2.0-only + +bootblock-y += gpio.c + +ramstage-y += gpio.c +ramstage-y += nhlt.c -- cgit v1.2.3