From b72ad6657c7a4a9cddfa0fc1a0e94a939c0caccc Mon Sep 17 00:00:00 2001 From: Martin Roth Date: Thu, 18 Jan 2024 13:16:21 -0700 Subject: driver/i2c: 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: I358b878b97adfd9be156a5dd4a9cbaf9e81bca1a Reviewed-on: https://review.coreboot.org/c/coreboot/+/80078 Tested-by: build bot (Jenkins) Reviewed-by: Felix Singer Reviewed-by: Maximilian Brune --- src/drivers/i2c/generic/Makefile.inc | 3 --- src/drivers/i2c/generic/Makefile.mk | 3 +++ 2 files changed, 3 insertions(+), 3 deletions(-) delete mode 100644 src/drivers/i2c/generic/Makefile.inc create mode 100644 src/drivers/i2c/generic/Makefile.mk (limited to 'src/drivers/i2c/generic') diff --git a/src/drivers/i2c/generic/Makefile.inc b/src/drivers/i2c/generic/Makefile.inc deleted file mode 100644 index 228a75b26d..0000000000 --- a/src/drivers/i2c/generic/Makefile.inc +++ /dev/null @@ -1,3 +0,0 @@ -## SPDX-License-Identifier: GPL-2.0-only - -ramstage-$(CONFIG_DRIVERS_I2C_GENERIC) += generic.c diff --git a/src/drivers/i2c/generic/Makefile.mk b/src/drivers/i2c/generic/Makefile.mk new file mode 100644 index 0000000000..228a75b26d --- /dev/null +++ b/src/drivers/i2c/generic/Makefile.mk @@ -0,0 +1,3 @@ +## SPDX-License-Identifier: GPL-2.0-only + +ramstage-$(CONFIG_DRIVERS_I2C_GENERIC) += generic.c -- cgit v1.2.3