summaryrefslogtreecommitdiff
path: root/src/mainboard/google/octopus/Makefile.inc
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/google/octopus/Makefile.inc')
-rw-r--r--src/mainboard/google/octopus/Makefile.inc18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/mainboard/google/octopus/Makefile.inc b/src/mainboard/google/octopus/Makefile.inc
new file mode 100644
index 0000000000..1a9adbcd8c
--- /dev/null
+++ b/src/mainboard/google/octopus/Makefile.inc
@@ -0,0 +1,18 @@
+bootblock-y += bootblock.c
+bootblock-y += ec.c
+
+romstage-$(CONFIG_CHROMEOS) += chromeos.c
+
+ramstage-$(CONFIG_CHROMEOS) += chromeos.c
+ramstage-y += ec.c
+ramstage-y += mainboard.c
+
+verstage-$(CONFIG_CHROMEOS) += chromeos.c
+smm-$(CONFIG_HAVE_SMI_HANDLER) += smihandler.c
+
+subdirs-y += variants/baseboard
+CPPFLAGS_common += -I$(src)/mainboard/$(MAINBOARDDIR)/variants/baseboard/include
+
+VARIANT_DIR:=$(call strip_quotes,$(CONFIG_VARIANT_DIR))
+subdirs-y += variants/$(VARIANT_DIR)
+CPPFLAGS_common += -I$(src)/mainboard/$(MAINBOARDDIR)/variants/$(VARIANT_DIR)/include