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/kontron/986lcd-m/Makefile.inc | 6 ------ src/mainboard/kontron/986lcd-m/Makefile.mk | 6 ++++++ src/mainboard/kontron/bsl6/Makefile.inc | 11 ----------- src/mainboard/kontron/bsl6/Makefile.mk | 11 +++++++++++ src/mainboard/kontron/ktqm77/Makefile.inc | 8 -------- src/mainboard/kontron/ktqm77/Makefile.mk | 8 ++++++++ src/mainboard/kontron/mal10/Makefile.inc | 9 --------- src/mainboard/kontron/mal10/Makefile.mk | 9 +++++++++ src/mainboard/kontron/mal10/carriers/t10-tni/Makefile.inc | 3 --- src/mainboard/kontron/mal10/carriers/t10-tni/Makefile.mk | 3 +++ src/mainboard/kontron/mal10/variants/mal10/Makefile.inc | 3 --- src/mainboard/kontron/mal10/variants/mal10/Makefile.mk | 3 +++ 12 files changed, 40 insertions(+), 40 deletions(-) delete mode 100644 src/mainboard/kontron/986lcd-m/Makefile.inc create mode 100644 src/mainboard/kontron/986lcd-m/Makefile.mk delete mode 100644 src/mainboard/kontron/bsl6/Makefile.inc create mode 100644 src/mainboard/kontron/bsl6/Makefile.mk delete mode 100644 src/mainboard/kontron/ktqm77/Makefile.inc create mode 100644 src/mainboard/kontron/ktqm77/Makefile.mk delete mode 100644 src/mainboard/kontron/mal10/Makefile.inc create mode 100644 src/mainboard/kontron/mal10/Makefile.mk delete mode 100644 src/mainboard/kontron/mal10/carriers/t10-tni/Makefile.inc create mode 100644 src/mainboard/kontron/mal10/carriers/t10-tni/Makefile.mk delete mode 100644 src/mainboard/kontron/mal10/variants/mal10/Makefile.inc create mode 100644 src/mainboard/kontron/mal10/variants/mal10/Makefile.mk (limited to 'src/mainboard/kontron') diff --git a/src/mainboard/kontron/986lcd-m/Makefile.inc b/src/mainboard/kontron/986lcd-m/Makefile.inc deleted file mode 100644 index 95250e28a6..0000000000 --- a/src/mainboard/kontron/986lcd-m/Makefile.inc +++ /dev/null @@ -1,6 +0,0 @@ -## SPDX-License-Identifier: GPL-2.0-only - -ramstage-y += cstates.c -romstage-y += gpio.c -bootblock-y += early_init.c -romstage-y += early_init.c diff --git a/src/mainboard/kontron/986lcd-m/Makefile.mk b/src/mainboard/kontron/986lcd-m/Makefile.mk new file mode 100644 index 0000000000..95250e28a6 --- /dev/null +++ b/src/mainboard/kontron/986lcd-m/Makefile.mk @@ -0,0 +1,6 @@ +## SPDX-License-Identifier: GPL-2.0-only + +ramstage-y += cstates.c +romstage-y += gpio.c +bootblock-y += early_init.c +romstage-y += early_init.c diff --git a/src/mainboard/kontron/bsl6/Makefile.inc b/src/mainboard/kontron/bsl6/Makefile.inc deleted file mode 100644 index 5164272950..0000000000 --- a/src/mainboard/kontron/bsl6/Makefile.inc +++ /dev/null @@ -1,11 +0,0 @@ -## SPDX-License-Identifier: GPL-2.0-only - -CPPFLAGS_common += -I$(src)/mainboard/$(MAINBOARDDIR)/include - -bootblock-y += bootblock.c - -romstage-y += variants/$(VARIANT_DIR)/romstage.c - -ramstage-y += gpio.c -ramstage-y += ramstage.c -ramstage-$(CONFIG_MAINBOARD_USE_LIBGFXINIT) += variants/$(VARIANT_DIR)/gma-mainboard.ads diff --git a/src/mainboard/kontron/bsl6/Makefile.mk b/src/mainboard/kontron/bsl6/Makefile.mk new file mode 100644 index 0000000000..5164272950 --- /dev/null +++ b/src/mainboard/kontron/bsl6/Makefile.mk @@ -0,0 +1,11 @@ +## SPDX-License-Identifier: GPL-2.0-only + +CPPFLAGS_common += -I$(src)/mainboard/$(MAINBOARDDIR)/include + +bootblock-y += bootblock.c + +romstage-y += variants/$(VARIANT_DIR)/romstage.c + +ramstage-y += gpio.c +ramstage-y += ramstage.c +ramstage-$(CONFIG_MAINBOARD_USE_LIBGFXINIT) += variants/$(VARIANT_DIR)/gma-mainboard.ads diff --git a/src/mainboard/kontron/ktqm77/Makefile.inc b/src/mainboard/kontron/ktqm77/Makefile.inc deleted file mode 100644 index e4b6fbf0f0..0000000000 --- a/src/mainboard/kontron/ktqm77/Makefile.inc +++ /dev/null @@ -1,8 +0,0 @@ -## SPDX-License-Identifier: GPL-2.0-only - -bootblock-y += gpio.c -romstage-y += gpio.c - -ramstage-$(CONFIG_MAINBOARD_USE_LIBGFXINIT) += gma-mainboard.ads -bootblock-y += early_init.c -romstage-y += early_init.c diff --git a/src/mainboard/kontron/ktqm77/Makefile.mk b/src/mainboard/kontron/ktqm77/Makefile.mk new file mode 100644 index 0000000000..e4b6fbf0f0 --- /dev/null +++ b/src/mainboard/kontron/ktqm77/Makefile.mk @@ -0,0 +1,8 @@ +## SPDX-License-Identifier: GPL-2.0-only + +bootblock-y += gpio.c +romstage-y += gpio.c + +ramstage-$(CONFIG_MAINBOARD_USE_LIBGFXINIT) += gma-mainboard.ads +bootblock-y += early_init.c +romstage-y += early_init.c diff --git a/src/mainboard/kontron/mal10/Makefile.inc b/src/mainboard/kontron/mal10/Makefile.inc deleted file mode 100644 index 2a21e03146..0000000000 --- a/src/mainboard/kontron/mal10/Makefile.inc +++ /dev/null @@ -1,9 +0,0 @@ -## SPDX-License-Identifier: GPL-2.0-only - -bootblock-y += bootblock.c -ramstage-y += ramstage.c -ramstage-$(CONFIG_MAINBOARD_USE_LIBGFXINIT) += variants/$(VARIANT_DIR)/gma-mainboard.ads - -subdirs-y += variants/$(VARIANT_DIR) -subdirs-y += carriers/$(CARRIER_DIR) -CPPFLAGS_common += -I$(src)/mainboard/$(MAINBOARDDIR)/include diff --git a/src/mainboard/kontron/mal10/Makefile.mk b/src/mainboard/kontron/mal10/Makefile.mk new file mode 100644 index 0000000000..2a21e03146 --- /dev/null +++ b/src/mainboard/kontron/mal10/Makefile.mk @@ -0,0 +1,9 @@ +## SPDX-License-Identifier: GPL-2.0-only + +bootblock-y += bootblock.c +ramstage-y += ramstage.c +ramstage-$(CONFIG_MAINBOARD_USE_LIBGFXINIT) += variants/$(VARIANT_DIR)/gma-mainboard.ads + +subdirs-y += variants/$(VARIANT_DIR) +subdirs-y += carriers/$(CARRIER_DIR) +CPPFLAGS_common += -I$(src)/mainboard/$(MAINBOARDDIR)/include diff --git a/src/mainboard/kontron/mal10/carriers/t10-tni/Makefile.inc b/src/mainboard/kontron/mal10/carriers/t10-tni/Makefile.inc deleted file mode 100644 index 5d3bcc436e..0000000000 --- a/src/mainboard/kontron/mal10/carriers/t10-tni/Makefile.inc +++ /dev/null @@ -1,3 +0,0 @@ -## SPDX-License-Identifier: GPL-2.0-only - -ramstage-y += gpio.c diff --git a/src/mainboard/kontron/mal10/carriers/t10-tni/Makefile.mk b/src/mainboard/kontron/mal10/carriers/t10-tni/Makefile.mk new file mode 100644 index 0000000000..5d3bcc436e --- /dev/null +++ b/src/mainboard/kontron/mal10/carriers/t10-tni/Makefile.mk @@ -0,0 +1,3 @@ +## SPDX-License-Identifier: GPL-2.0-only + +ramstage-y += gpio.c diff --git a/src/mainboard/kontron/mal10/variants/mal10/Makefile.inc b/src/mainboard/kontron/mal10/variants/mal10/Makefile.inc deleted file mode 100644 index f0aa6b19f3..0000000000 --- a/src/mainboard/kontron/mal10/variants/mal10/Makefile.inc +++ /dev/null @@ -1,3 +0,0 @@ -## SPDX-License-Identifier: GPL-2.0-only - -bootblock-y += gpio.c diff --git a/src/mainboard/kontron/mal10/variants/mal10/Makefile.mk b/src/mainboard/kontron/mal10/variants/mal10/Makefile.mk new file mode 100644 index 0000000000..f0aa6b19f3 --- /dev/null +++ b/src/mainboard/kontron/mal10/variants/mal10/Makefile.mk @@ -0,0 +1,3 @@ +## SPDX-License-Identifier: GPL-2.0-only + +bootblock-y += gpio.c -- cgit v1.2.3