summaryrefslogtreecommitdiff
path: root/src/drivers/spi/tpm/Makefile.mk
diff options
context:
space:
mode:
authorMartin Roth <gaumless@gmail.com>2024-01-18 15:33:45 -0700
committerFelix Singer <service+coreboot-gerrit@felixsinger.de>2024-01-24 10:04:33 +0000
commit367fff56faaff6fca27240f481c6c0a40113d68b (patch)
treefd8e4ab82b710b4df37fd194e53608b1e23cc63a /src/drivers/spi/tpm/Makefile.mk
parentaf880447028ae532428224097ca171a3e729afd4 (diff)
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 <gaumless@gmail.com> Change-Id: I8cf3d2e2cd1b6ebe4e941ad64f27698379fef696 Reviewed-on: https://review.coreboot.org/c/coreboot/+/80080 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/drivers/spi/tpm/Makefile.mk')
-rw-r--r--src/drivers/spi/tpm/Makefile.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/drivers/spi/tpm/Makefile.mk b/src/drivers/spi/tpm/Makefile.mk
new file mode 100644
index 0000000000..e7a5d6369c
--- /dev/null
+++ b/src/drivers/spi/tpm/Makefile.mk
@@ -0,0 +1,5 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
+ifeq ($(CONFIG_TPM)$(CONFIG_SPI_TPM),yy)
+all-y += tis.c tpm.c
+endif