From 8b122600c4689e05b5fb94c7559a734596f54fdd Mon Sep 17 00:00:00 2001 From: Martin Roth Date: Thu, 18 Jan 2024 13:05:06 -0700 Subject: southbridge: Rename Makefiles from .inc to .mk MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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: Ic80d27a963da8eddc3d1f0d9a3d59763028d4ed0 Reviewed-on: https://review.coreboot.org/c/coreboot/+/80075 Reviewed-by: Felix Singer Reviewed-by: Maximilian Brune Tested-by: build bot (Jenkins) Reviewed-by: Michael Niewöhner --- src/southbridge/ti/pci1x2x/Makefile.inc | 7 ------- src/southbridge/ti/pci1x2x/Makefile.mk | 7 +++++++ src/southbridge/ti/pci7420/Makefile.inc | 8 -------- src/southbridge/ti/pci7420/Makefile.mk | 8 ++++++++ src/southbridge/ti/pcixx12/Makefile.inc | 7 ------- src/southbridge/ti/pcixx12/Makefile.mk | 7 +++++++ 6 files changed, 22 insertions(+), 22 deletions(-) delete mode 100644 src/southbridge/ti/pci1x2x/Makefile.inc create mode 100644 src/southbridge/ti/pci1x2x/Makefile.mk delete mode 100644 src/southbridge/ti/pci7420/Makefile.inc create mode 100644 src/southbridge/ti/pci7420/Makefile.mk delete mode 100644 src/southbridge/ti/pcixx12/Makefile.inc create mode 100644 src/southbridge/ti/pcixx12/Makefile.mk (limited to 'src/southbridge/ti') diff --git a/src/southbridge/ti/pci1x2x/Makefile.inc b/src/southbridge/ti/pci1x2x/Makefile.inc deleted file mode 100644 index 05e57add48..0000000000 --- a/src/southbridge/ti/pci1x2x/Makefile.inc +++ /dev/null @@ -1,7 +0,0 @@ -## SPDX-License-Identifier: GPL-2.0-only - -ifeq ($(CONFIG_SOUTHBRIDGE_TI_PCI1X2X),y) - -ramstage-y += pci1x2x.c - -endif diff --git a/src/southbridge/ti/pci1x2x/Makefile.mk b/src/southbridge/ti/pci1x2x/Makefile.mk new file mode 100644 index 0000000000..05e57add48 --- /dev/null +++ b/src/southbridge/ti/pci1x2x/Makefile.mk @@ -0,0 +1,7 @@ +## SPDX-License-Identifier: GPL-2.0-only + +ifeq ($(CONFIG_SOUTHBRIDGE_TI_PCI1X2X),y) + +ramstage-y += pci1x2x.c + +endif diff --git a/src/southbridge/ti/pci7420/Makefile.inc b/src/southbridge/ti/pci7420/Makefile.inc deleted file mode 100644 index 07794cfe7d..0000000000 --- a/src/southbridge/ti/pci7420/Makefile.inc +++ /dev/null @@ -1,8 +0,0 @@ -## SPDX-License-Identifier: GPL-2.0-only - -ifeq ($(CONFIG_SOUTHBRIDGE_TI_PCI7420),y) - -ramstage-y += cardbus.c -ramstage-y += firewire.c - -endif diff --git a/src/southbridge/ti/pci7420/Makefile.mk b/src/southbridge/ti/pci7420/Makefile.mk new file mode 100644 index 0000000000..07794cfe7d --- /dev/null +++ b/src/southbridge/ti/pci7420/Makefile.mk @@ -0,0 +1,8 @@ +## SPDX-License-Identifier: GPL-2.0-only + +ifeq ($(CONFIG_SOUTHBRIDGE_TI_PCI7420),y) + +ramstage-y += cardbus.c +ramstage-y += firewire.c + +endif diff --git a/src/southbridge/ti/pcixx12/Makefile.inc b/src/southbridge/ti/pcixx12/Makefile.inc deleted file mode 100644 index 337a42c133..0000000000 --- a/src/southbridge/ti/pcixx12/Makefile.inc +++ /dev/null @@ -1,7 +0,0 @@ -## SPDX-License-Identifier: GPL-2.0-only - -ifeq ($(CONFIG_SOUTHBRIDGE_TI_PCIXX12),y) - -ramstage-y += pcixx12.c - -endif diff --git a/src/southbridge/ti/pcixx12/Makefile.mk b/src/southbridge/ti/pcixx12/Makefile.mk new file mode 100644 index 0000000000..337a42c133 --- /dev/null +++ b/src/southbridge/ti/pcixx12/Makefile.mk @@ -0,0 +1,7 @@ +## SPDX-License-Identifier: GPL-2.0-only + +ifeq ($(CONFIG_SOUTHBRIDGE_TI_PCIXX12),y) + +ramstage-y += pcixx12.c + +endif -- cgit v1.2.3