From 367fff56faaff6fca27240f481c6c0a40113d68b Mon Sep 17 00:00:00 2001 From: Martin Roth Date: Thu, 18 Jan 2024 15:33:45 -0700 Subject: driver/parade to /driver/wwan: 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: I8cf3d2e2cd1b6ebe4e941ad64f27698379fef696 Reviewed-on: https://review.coreboot.org/c/coreboot/+/80080 Reviewed-by: Felix Singer Reviewed-by: Maximilian Brune Tested-by: build bot (Jenkins) --- src/drivers/usb/Makefile.inc | 8 -------- src/drivers/usb/Makefile.mk | 8 ++++++++ src/drivers/usb/acpi/Makefile.inc | 3 --- src/drivers/usb/acpi/Makefile.mk | 3 +++ src/drivers/usb/hub/Makefile.inc | 3 --- src/drivers/usb/hub/Makefile.mk | 3 +++ src/drivers/usb/pci_xhci/Makefile.inc | 3 --- src/drivers/usb/pci_xhci/Makefile.mk | 3 +++ 8 files changed, 17 insertions(+), 17 deletions(-) delete mode 100644 src/drivers/usb/Makefile.inc create mode 100644 src/drivers/usb/Makefile.mk delete mode 100644 src/drivers/usb/acpi/Makefile.inc create mode 100644 src/drivers/usb/acpi/Makefile.mk delete mode 100644 src/drivers/usb/hub/Makefile.inc create mode 100644 src/drivers/usb/hub/Makefile.mk delete mode 100644 src/drivers/usb/pci_xhci/Makefile.inc create mode 100644 src/drivers/usb/pci_xhci/Makefile.mk (limited to 'src/drivers/usb') diff --git a/src/drivers/usb/Makefile.inc b/src/drivers/usb/Makefile.inc deleted file mode 100644 index 3c29545223..0000000000 --- a/src/drivers/usb/Makefile.inc +++ /dev/null @@ -1,8 +0,0 @@ -## SPDX-License-Identifier: GPL-2.0-only - -bootblock-$(CONFIG_USBDEBUG) += ehci_debug.c pci_ehci.c console.c gadget.c -verstage-$(CONFIG_USBDEBUG) += ehci_debug.c console.c -romstage-$(CONFIG_USBDEBUG) += ehci_debug.c pci_ehci.c console.c gadget.c -postcar-$(CONFIG_USBDEBUG) += ehci_debug.c console.c - -ramstage-$(CONFIG_USBDEBUG) += ehci_debug.c pci_ehci.c console.c gadget.c diff --git a/src/drivers/usb/Makefile.mk b/src/drivers/usb/Makefile.mk new file mode 100644 index 0000000000..3c29545223 --- /dev/null +++ b/src/drivers/usb/Makefile.mk @@ -0,0 +1,8 @@ +## SPDX-License-Identifier: GPL-2.0-only + +bootblock-$(CONFIG_USBDEBUG) += ehci_debug.c pci_ehci.c console.c gadget.c +verstage-$(CONFIG_USBDEBUG) += ehci_debug.c console.c +romstage-$(CONFIG_USBDEBUG) += ehci_debug.c pci_ehci.c console.c gadget.c +postcar-$(CONFIG_USBDEBUG) += ehci_debug.c console.c + +ramstage-$(CONFIG_USBDEBUG) += ehci_debug.c pci_ehci.c console.c gadget.c diff --git a/src/drivers/usb/acpi/Makefile.inc b/src/drivers/usb/acpi/Makefile.inc deleted file mode 100644 index e525b466c9..0000000000 --- a/src/drivers/usb/acpi/Makefile.inc +++ /dev/null @@ -1,3 +0,0 @@ -## SPDX-License-Identifier: GPL-2.0-only - -ramstage-$(CONFIG_DRIVERS_USB_ACPI) += usb_acpi.c diff --git a/src/drivers/usb/acpi/Makefile.mk b/src/drivers/usb/acpi/Makefile.mk new file mode 100644 index 0000000000..e525b466c9 --- /dev/null +++ b/src/drivers/usb/acpi/Makefile.mk @@ -0,0 +1,3 @@ +## SPDX-License-Identifier: GPL-2.0-only + +ramstage-$(CONFIG_DRIVERS_USB_ACPI) += usb_acpi.c diff --git a/src/drivers/usb/hub/Makefile.inc b/src/drivers/usb/hub/Makefile.inc deleted file mode 100644 index 3222a81db3..0000000000 --- a/src/drivers/usb/hub/Makefile.inc +++ /dev/null @@ -1,3 +0,0 @@ -## SPDX-License-Identifier: GPL-2.0-only - -ramstage-$(CONFIG_DRIVERS_USB_HUB) += acpi.c diff --git a/src/drivers/usb/hub/Makefile.mk b/src/drivers/usb/hub/Makefile.mk new file mode 100644 index 0000000000..3222a81db3 --- /dev/null +++ b/src/drivers/usb/hub/Makefile.mk @@ -0,0 +1,3 @@ +## SPDX-License-Identifier: GPL-2.0-only + +ramstage-$(CONFIG_DRIVERS_USB_HUB) += acpi.c diff --git a/src/drivers/usb/pci_xhci/Makefile.inc b/src/drivers/usb/pci_xhci/Makefile.inc deleted file mode 100644 index 4f9187baa8..0000000000 --- a/src/drivers/usb/pci_xhci/Makefile.inc +++ /dev/null @@ -1,3 +0,0 @@ -## SPDX-License-Identifier: GPL-2.0-only - -ramstage-$(CONFIG_DRIVERS_USB_PCI_XHCI) += pci_xhci.c diff --git a/src/drivers/usb/pci_xhci/Makefile.mk b/src/drivers/usb/pci_xhci/Makefile.mk new file mode 100644 index 0000000000..4f9187baa8 --- /dev/null +++ b/src/drivers/usb/pci_xhci/Makefile.mk @@ -0,0 +1,3 @@ +## SPDX-License-Identifier: GPL-2.0-only + +ramstage-$(CONFIG_DRIVERS_USB_PCI_XHCI) += pci_xhci.c -- cgit v1.2.3