summaryrefslogtreecommitdiff
path: root/src/mainboard/google/sarien/Makefile.inc
blob: 6bc69efbc9093930ee8dc1021e96fa91a6f52a55 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
## SPDX-License-Identifier: GPL-2.0-only

bootblock-y += bootblock.c

ramstage-y += ramstage.c
ramstage-y += sku.c

romstage-y += romstage.c

bootblock-$(CONFIG_CHROMEOS) += chromeos.c
ramstage-$(CONFIG_CHROMEOS) += chromeos.c
romstage-$(CONFIG_CHROMEOS) += chromeos.c
verstage-$(CONFIG_CHROMEOS) += chromeos.c

ramstage-$(CONFIG_SOC_INTEL_COMMON_BLOCK_HDA_VERB) += variants/$(VARIANT_DIR)/hda_verb.c

bootblock-$(CONFIG_EC_GOOGLE_WILCO) += ec.c
ramstage-$(CONFIG_EC_GOOGLE_WILCO) += ec.c
romstage-$(CONFIG_EC_GOOGLE_WILCO) += ec.c
verstage-$(CONFIG_EC_GOOGLE_WILCO) += ec.c

subdirs-y += variants/$(VARIANT_DIR)
CPPFLAGS_common += -I$(src)/mainboard/$(MAINBOARDDIR)/variants/$(VARIANT_DIR)/include