summaryrefslogtreecommitdiff
path: root/src/drivers/pc80/pc/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/pc80/pc/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/pc80/pc/Makefile.mk')
-rw-r--r--src/drivers/pc80/pc/Makefile.mk15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/drivers/pc80/pc/Makefile.mk b/src/drivers/pc80/pc/Makefile.mk
new file mode 100644
index 0000000000..3c1ce48be9
--- /dev/null
+++ b/src/drivers/pc80/pc/Makefile.mk
@@ -0,0 +1,15 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
+ifeq ($(CONFIG_ARCH_X86),y)
+
+ramstage-y += isa-dma.c
+ramstage-y += i8259.c
+ramstage-y += keyboard.c
+ramstage-$(CONFIG_SPKMODEM) += spkmodem.c
+romstage-$(CONFIG_SPKMODEM) += spkmodem.c
+bootblock-$(CONFIG_SPKMODEM) += spkmodem.c
+
+all_x86-y += i8254.c
+smm-y += i8254.c
+
+endif