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/apple/macbook21/Makefile.inc | 7 ------- src/mainboard/apple/macbook21/Makefile.mk | 7 +++++++ src/mainboard/apple/macbookair4_2/Makefile.inc | 11 ----------- src/mainboard/apple/macbookair4_2/Makefile.mk | 11 +++++++++++ 4 files changed, 18 insertions(+), 18 deletions(-) delete mode 100644 src/mainboard/apple/macbook21/Makefile.inc create mode 100644 src/mainboard/apple/macbook21/Makefile.mk delete mode 100644 src/mainboard/apple/macbookair4_2/Makefile.inc create mode 100644 src/mainboard/apple/macbookair4_2/Makefile.mk (limited to 'src/mainboard/apple') diff --git a/src/mainboard/apple/macbook21/Makefile.inc b/src/mainboard/apple/macbook21/Makefile.inc deleted file mode 100644 index 115d7e9cbd..0000000000 --- a/src/mainboard/apple/macbook21/Makefile.inc +++ /dev/null @@ -1,7 +0,0 @@ -## SPDX-License-Identifier: GPL-2.0-only - -romstage-y += gpio.c -bootblock-y += early_init.c -romstage-y += early_init.c - -ramstage-y += cstates.c diff --git a/src/mainboard/apple/macbook21/Makefile.mk b/src/mainboard/apple/macbook21/Makefile.mk new file mode 100644 index 0000000000..115d7e9cbd --- /dev/null +++ b/src/mainboard/apple/macbook21/Makefile.mk @@ -0,0 +1,7 @@ +## SPDX-License-Identifier: GPL-2.0-only + +romstage-y += gpio.c +bootblock-y += early_init.c +romstage-y += early_init.c + +ramstage-y += cstates.c diff --git a/src/mainboard/apple/macbookair4_2/Makefile.inc b/src/mainboard/apple/macbookair4_2/Makefile.inc deleted file mode 100644 index defa3ec3ce..0000000000 --- a/src/mainboard/apple/macbookair4_2/Makefile.inc +++ /dev/null @@ -1,11 +0,0 @@ -## SPDX-License-Identifier: GPL-2.0-only - -bootblock-y += gpio.c -romstage-y += gpio.c -ramstage-y += gnvs.c - -SPD_SOURCES = apple - -ramstage-$(CONFIG_MAINBOARD_USE_LIBGFXINIT) += gma-mainboard.ads -bootblock-y += early_init.c -romstage-y += early_init.c diff --git a/src/mainboard/apple/macbookair4_2/Makefile.mk b/src/mainboard/apple/macbookair4_2/Makefile.mk new file mode 100644 index 0000000000..defa3ec3ce --- /dev/null +++ b/src/mainboard/apple/macbookair4_2/Makefile.mk @@ -0,0 +1,11 @@ +## SPDX-License-Identifier: GPL-2.0-only + +bootblock-y += gpio.c +romstage-y += gpio.c +ramstage-y += gnvs.c + +SPD_SOURCES = apple + +ramstage-$(CONFIG_MAINBOARD_USE_LIBGFXINIT) += gma-mainboard.ads +bootblock-y += early_init.c +romstage-y += early_init.c -- cgit v1.2.3