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 --- src/mainboard/asus/h61-series/Makefile.inc | 8 -------- src/mainboard/asus/h61-series/Makefile.mk | 8 ++++++++ src/mainboard/asus/maximus_iv_gene-z/Makefile.inc | 7 ------- src/mainboard/asus/maximus_iv_gene-z/Makefile.mk | 7 +++++++ src/mainboard/asus/p2b/Makefile.inc | 7 ------- src/mainboard/asus/p2b/Makefile.mk | 7 +++++++ src/mainboard/asus/p5gc-mx/Makefile.inc | 6 ------ src/mainboard/asus/p5gc-mx/Makefile.mk | 6 ++++++ src/mainboard/asus/p5qc/Makefile.inc | 9 --------- src/mainboard/asus/p5qc/Makefile.mk | 9 +++++++++ src/mainboard/asus/p5ql-em/Makefile.inc | 10 ---------- src/mainboard/asus/p5ql-em/Makefile.mk | 10 ++++++++++ src/mainboard/asus/p5qpl-am/Makefile.inc | 9 --------- src/mainboard/asus/p5qpl-am/Makefile.mk | 9 +++++++++ src/mainboard/asus/p8x7x-series/Makefile.inc | 8 -------- src/mainboard/asus/p8x7x-series/Makefile.mk | 8 ++++++++ 16 files changed, 64 insertions(+), 64 deletions(-) delete mode 100644 src/mainboard/asus/h61-series/Makefile.inc create mode 100644 src/mainboard/asus/h61-series/Makefile.mk delete mode 100644 src/mainboard/asus/maximus_iv_gene-z/Makefile.inc create mode 100644 src/mainboard/asus/maximus_iv_gene-z/Makefile.mk delete mode 100644 src/mainboard/asus/p2b/Makefile.inc create mode 100644 src/mainboard/asus/p2b/Makefile.mk delete mode 100644 src/mainboard/asus/p5gc-mx/Makefile.inc create mode 100644 src/mainboard/asus/p5gc-mx/Makefile.mk delete mode 100644 src/mainboard/asus/p5qc/Makefile.inc create mode 100644 src/mainboard/asus/p5qc/Makefile.mk delete mode 100644 src/mainboard/asus/p5ql-em/Makefile.inc create mode 100644 src/mainboard/asus/p5ql-em/Makefile.mk delete mode 100644 src/mainboard/asus/p5qpl-am/Makefile.inc create mode 100644 src/mainboard/asus/p5qpl-am/Makefile.mk delete mode 100644 src/mainboard/asus/p8x7x-series/Makefile.inc create mode 100644 src/mainboard/asus/p8x7x-series/Makefile.mk (limited to 'src/mainboard/asus') diff --git a/src/mainboard/asus/h61-series/Makefile.inc b/src/mainboard/asus/h61-series/Makefile.inc deleted file mode 100644 index e339285620..0000000000 --- a/src/mainboard/asus/h61-series/Makefile.inc +++ /dev/null @@ -1,8 +0,0 @@ -## SPDX-License-Identifier: GPL-2.0-only - -bootblock-y += variants/$(VARIANT_DIR)/early_init.c -romstage-y += variants/$(VARIANT_DIR)/early_init.c -bootblock-y += variants/$(VARIANT_DIR)/gpio.c -romstage-y += variants/$(VARIANT_DIR)/gpio.c -ramstage-y += variants/$(VARIANT_DIR)/hda_verb.c -ramstage-$(CONFIG_MAINBOARD_USE_LIBGFXINIT) += variants/$(VARIANT_DIR)/gma-mainboard.ads diff --git a/src/mainboard/asus/h61-series/Makefile.mk b/src/mainboard/asus/h61-series/Makefile.mk new file mode 100644 index 0000000000..e339285620 --- /dev/null +++ b/src/mainboard/asus/h61-series/Makefile.mk @@ -0,0 +1,8 @@ +## SPDX-License-Identifier: GPL-2.0-only + +bootblock-y += variants/$(VARIANT_DIR)/early_init.c +romstage-y += variants/$(VARIANT_DIR)/early_init.c +bootblock-y += variants/$(VARIANT_DIR)/gpio.c +romstage-y += variants/$(VARIANT_DIR)/gpio.c +ramstage-y += variants/$(VARIANT_DIR)/hda_verb.c +ramstage-$(CONFIG_MAINBOARD_USE_LIBGFXINIT) += variants/$(VARIANT_DIR)/gma-mainboard.ads diff --git a/src/mainboard/asus/maximus_iv_gene-z/Makefile.inc b/src/mainboard/asus/maximus_iv_gene-z/Makefile.inc deleted file mode 100644 index e09d538d26..0000000000 --- a/src/mainboard/asus/maximus_iv_gene-z/Makefile.inc +++ /dev/null @@ -1,7 +0,0 @@ -## SPDX-License-Identifier: GPL-2.0-or-later - -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/asus/maximus_iv_gene-z/Makefile.mk b/src/mainboard/asus/maximus_iv_gene-z/Makefile.mk new file mode 100644 index 0000000000..e09d538d26 --- /dev/null +++ b/src/mainboard/asus/maximus_iv_gene-z/Makefile.mk @@ -0,0 +1,7 @@ +## SPDX-License-Identifier: GPL-2.0-or-later + +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/asus/p2b/Makefile.inc b/src/mainboard/asus/p2b/Makefile.inc deleted file mode 100644 index 6e1fb3fef1..0000000000 --- a/src/mainboard/asus/p2b/Makefile.inc +++ /dev/null @@ -1,7 +0,0 @@ -## SPDX-License-Identifier: GPL-2.0-only - -bootblock-y += bootblock.c -romstage-$(CONFIG_BOARD_ASUS_P3B_F) += variants/$(VARIANT_DIR)/romstage.c - -ramstage-$(CONFIG_GENERATE_PIRQ_TABLE) += variants/$(VARIANT_DIR)/irq_tables.c -ramstage-$(CONFIG_GENERATE_MP_TABLE) += variants/$(VARIANT_DIR)/mptable.c diff --git a/src/mainboard/asus/p2b/Makefile.mk b/src/mainboard/asus/p2b/Makefile.mk new file mode 100644 index 0000000000..6e1fb3fef1 --- /dev/null +++ b/src/mainboard/asus/p2b/Makefile.mk @@ -0,0 +1,7 @@ +## SPDX-License-Identifier: GPL-2.0-only + +bootblock-y += bootblock.c +romstage-$(CONFIG_BOARD_ASUS_P3B_F) += variants/$(VARIANT_DIR)/romstage.c + +ramstage-$(CONFIG_GENERATE_PIRQ_TABLE) += variants/$(VARIANT_DIR)/irq_tables.c +ramstage-$(CONFIG_GENERATE_MP_TABLE) += variants/$(VARIANT_DIR)/mptable.c diff --git a/src/mainboard/asus/p5gc-mx/Makefile.inc b/src/mainboard/asus/p5gc-mx/Makefile.inc deleted file mode 100644 index 95250e28a6..0000000000 --- a/src/mainboard/asus/p5gc-mx/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/asus/p5gc-mx/Makefile.mk b/src/mainboard/asus/p5gc-mx/Makefile.mk new file mode 100644 index 0000000000..95250e28a6 --- /dev/null +++ b/src/mainboard/asus/p5gc-mx/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/asus/p5qc/Makefile.inc b/src/mainboard/asus/p5qc/Makefile.inc deleted file mode 100644 index eeeef1e7ed..0000000000 --- a/src/mainboard/asus/p5qc/Makefile.inc +++ /dev/null @@ -1,9 +0,0 @@ -# SPDX-License-Identifier: GPL-2.0-only - -CONFIG_GPIO_C:=$(call strip_quotes, $(CONFIG_GPIO_C)) - -bootblock-y += early_init.c -romstage-y += early_init.c - -ramstage-y += cstates.c -romstage-y += $(CONFIG_GPIO_C) diff --git a/src/mainboard/asus/p5qc/Makefile.mk b/src/mainboard/asus/p5qc/Makefile.mk new file mode 100644 index 0000000000..eeeef1e7ed --- /dev/null +++ b/src/mainboard/asus/p5qc/Makefile.mk @@ -0,0 +1,9 @@ +# SPDX-License-Identifier: GPL-2.0-only + +CONFIG_GPIO_C:=$(call strip_quotes, $(CONFIG_GPIO_C)) + +bootblock-y += early_init.c +romstage-y += early_init.c + +ramstage-y += cstates.c +romstage-y += $(CONFIG_GPIO_C) diff --git a/src/mainboard/asus/p5ql-em/Makefile.inc b/src/mainboard/asus/p5ql-em/Makefile.inc deleted file mode 100644 index 4a5e88d022..0000000000 --- a/src/mainboard/asus/p5ql-em/Makefile.inc +++ /dev/null @@ -1,10 +0,0 @@ -# SPDX-License-Identifier: GPL-2.0-only - -bootblock-y += early_init.c - -romstage-y += gpio.c -romstage-y += early_init.c - -ramstage-y += cstates.c - -ramstage-$(CONFIG_MAINBOARD_USE_LIBGFXINIT) += gma-mainboard.ads diff --git a/src/mainboard/asus/p5ql-em/Makefile.mk b/src/mainboard/asus/p5ql-em/Makefile.mk new file mode 100644 index 0000000000..4a5e88d022 --- /dev/null +++ b/src/mainboard/asus/p5ql-em/Makefile.mk @@ -0,0 +1,10 @@ +# SPDX-License-Identifier: GPL-2.0-only + +bootblock-y += early_init.c + +romstage-y += gpio.c +romstage-y += early_init.c + +ramstage-y += cstates.c + +ramstage-$(CONFIG_MAINBOARD_USE_LIBGFXINIT) += gma-mainboard.ads diff --git a/src/mainboard/asus/p5qpl-am/Makefile.inc b/src/mainboard/asus/p5qpl-am/Makefile.inc deleted file mode 100644 index bb906a65a0..0000000000 --- a/src/mainboard/asus/p5qpl-am/Makefile.inc +++ /dev/null @@ -1,9 +0,0 @@ -## SPDX-License-Identifier: GPL-2.0-only - -ramstage-y += cstates.c -romstage-y += variants/$(VARIANT_DIR)/gpio.c - -bootblock-y += early_init.c -romstage-y += early_init.c - -ramstage-$(CONFIG_MAINBOARD_USE_LIBGFXINIT) += gma-mainboard.ads diff --git a/src/mainboard/asus/p5qpl-am/Makefile.mk b/src/mainboard/asus/p5qpl-am/Makefile.mk new file mode 100644 index 0000000000..bb906a65a0 --- /dev/null +++ b/src/mainboard/asus/p5qpl-am/Makefile.mk @@ -0,0 +1,9 @@ +## SPDX-License-Identifier: GPL-2.0-only + +ramstage-y += cstates.c +romstage-y += variants/$(VARIANT_DIR)/gpio.c + +bootblock-y += early_init.c +romstage-y += early_init.c + +ramstage-$(CONFIG_MAINBOARD_USE_LIBGFXINIT) += gma-mainboard.ads diff --git a/src/mainboard/asus/p8x7x-series/Makefile.inc b/src/mainboard/asus/p8x7x-series/Makefile.inc deleted file mode 100644 index e339285620..0000000000 --- a/src/mainboard/asus/p8x7x-series/Makefile.inc +++ /dev/null @@ -1,8 +0,0 @@ -## SPDX-License-Identifier: GPL-2.0-only - -bootblock-y += variants/$(VARIANT_DIR)/early_init.c -romstage-y += variants/$(VARIANT_DIR)/early_init.c -bootblock-y += variants/$(VARIANT_DIR)/gpio.c -romstage-y += variants/$(VARIANT_DIR)/gpio.c -ramstage-y += variants/$(VARIANT_DIR)/hda_verb.c -ramstage-$(CONFIG_MAINBOARD_USE_LIBGFXINIT) += variants/$(VARIANT_DIR)/gma-mainboard.ads diff --git a/src/mainboard/asus/p8x7x-series/Makefile.mk b/src/mainboard/asus/p8x7x-series/Makefile.mk new file mode 100644 index 0000000000..e339285620 --- /dev/null +++ b/src/mainboard/asus/p8x7x-series/Makefile.mk @@ -0,0 +1,8 @@ +## SPDX-License-Identifier: GPL-2.0-only + +bootblock-y += variants/$(VARIANT_DIR)/early_init.c +romstage-y += variants/$(VARIANT_DIR)/early_init.c +bootblock-y += variants/$(VARIANT_DIR)/gpio.c +romstage-y += variants/$(VARIANT_DIR)/gpio.c +ramstage-y += variants/$(VARIANT_DIR)/hda_verb.c +ramstage-$(CONFIG_MAINBOARD_USE_LIBGFXINIT) += variants/$(VARIANT_DIR)/gma-mainboard.ads -- cgit v1.2.3