summaryrefslogtreecommitdiff
path: root/src/mainboard/google/puff/Makefile.mk
diff options
context:
space:
mode:
authorMartin Roth <gaumless@gmail.com>2024-01-18 16:09:11 -0700
committerFelix Singer <service+coreboot-gerrit@felixsinger.de>2024-01-24 11:54:06 +0000
commit03d509ff0065f8a6289d614f5b8189f008dbc206 (patch)
treeb90318c4d5d021a904db9cebf9ef735e40f68527 /src/mainboard/google/puff/Makefile.mk
parent0fbd20e58f5e73fb531fbb8dbb6089c607262122 (diff)
mb/google/oak to rex: 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: I85cda24aa7dec82d23e8a321dac03ec737f4c503 Reviewed-on: https://review.coreboot.org/c/coreboot/+/80108 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/mainboard/google/puff/Makefile.mk')
-rw-r--r--src/mainboard/google/puff/Makefile.mk19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/mainboard/google/puff/Makefile.mk b/src/mainboard/google/puff/Makefile.mk
new file mode 100644
index 0000000000..b26f1d20e5
--- /dev/null
+++ b/src/mainboard/google/puff/Makefile.mk
@@ -0,0 +1,19 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
+bootblock-y += bootblock.c
+bootblock-$(CONFIG_CHROMEOS) += chromeos.c
+
+ramstage-y += ramstage.c
+ramstage-$(CONFIG_CHROMEOS) += chromeos.c
+ramstage-$(CONFIG_EC_GOOGLE_CHROMEEC) += ec.c
+
+romstage-y += romstage.c
+romstage-$(CONFIG_CHROMEOS) += chromeos.c
+
+verstage-$(CONFIG_CHROMEOS) += chromeos.c
+
+subdirs-y += variants/baseboard
+CPPFLAGS_common += -I$(src)/mainboard/$(MAINBOARDDIR)/variants/baseboard/include
+
+subdirs-y += variants/$(VARIANT_DIR)
+CPPFLAGS_common += -I$(src)/mainboard/$(MAINBOARDDIR)/variants/$(VARIANT_DIR)/include