summaryrefslogtreecommitdiff
path: root/src/soc/intel/common/block/rtc/Makefile.mk
diff options
context:
space:
mode:
authorMartin Roth <gaumless@gmail.com>2024-01-18 12:37:22 -0700
committerFelix Singer <service+coreboot-gerrit@felixsinger.de>2024-01-24 10:02:22 +0000
commitea198585628ea58a90d85957b7b87b8fd46b0176 (patch)
tree6e2365b983d739dc61985644f91e3200ac21070d /src/soc/intel/common/block/rtc/Makefile.mk
parentb731550236e531552a5855bf32af644316cb9fe4 (diff)
soc/intel: 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 <gaumless@gmail.com> Change-Id: Ib479b93b7d0b2e790d0495b6a6b4b4298a515d9a Reviewed-on: https://review.coreboot.org/c/coreboot/+/80073 Reviewed-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-by: Michael Niewöhner <foss@mniewoehner.de> Reviewed-by: Felix Singer <service+coreboot-gerrit@felixsinger.de> Reviewed-by: Maximilian Brune <maximilian.brune@9elements.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc/intel/common/block/rtc/Makefile.mk')
-rw-r--r--src/soc/intel/common/block/rtc/Makefile.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/soc/intel/common/block/rtc/Makefile.mk b/src/soc/intel/common/block/rtc/Makefile.mk
new file mode 100644
index 0000000000..13ab7889ca
--- /dev/null
+++ b/src/soc/intel/common/block/rtc/Makefile.mk
@@ -0,0 +1,4 @@
+## SPDX-License-Identifier: GPL-2.0-only
+bootblock-$(CONFIG_SOC_INTEL_COMMON_BLOCK_RTC) += rtc.c
+romstage-$(CONFIG_SOC_INTEL_COMMON_BLOCK_RTC) += rtc.c
+ramstage-$(CONFIG_SOC_INTEL_COMMON_BLOCK_RTC) += rtc.c