summaryrefslogtreecommitdiff
path: root/src/mainboard/google/brya/Makefile.mk
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/google/brya/Makefile.mk')
-rw-r--r--src/mainboard/google/brya/Makefile.mk23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/mainboard/google/brya/Makefile.mk b/src/mainboard/google/brya/Makefile.mk
new file mode 100644
index 0000000000..8c7e42d5f7
--- /dev/null
+++ b/src/mainboard/google/brya/Makefile.mk
@@ -0,0 +1,23 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
+bootblock-y += bootblock.c
+
+verstage-$(CONFIG_CHROMEOS) += chromeos.c
+
+romstage-$(CONFIG_CHROMEOS) += chromeos.c
+romstage-y += romstage.c
+
+ramstage-$(CONFIG_CHROMEOS) += chromeos.c
+ramstage-y += mainboard.c
+ramstage-y += ec.c
+
+BASEBOARD_DIR:=$(call strip_quotes,$(CONFIG_BASEBOARD_DIR))
+
+subdirs-y += variants/baseboard/$(BASEBOARD_DIR)
+subdirs-y += variants/$(VARIANT_DIR)
+subdirs-y += variants/$(VARIANT_DIR)/memory
+subdirs-$(CONFIG_HAVE_SPD_IN_CBFS) += spd
+
+CPPFLAGS_common += -I$(src)/mainboard/$(MAINBOARDDIR)/variants/baseboard/include
+CPPFLAGS_common += -I$(src)/mainboard/$(MAINBOARDDIR)/variants/baseboard/$(BASEBOARD_DIR)/include
+CPPFLAGS_common += -I$(src)/mainboard/$(MAINBOARDDIR)/variants/$(VARIANT_DIR)/include