summaryrefslogtreecommitdiff
path: root/src/mainboard/google/zork/Makefile.inc
blob: 07628c186b29be128e8d78c543ef4e2316296c12 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# SPDX-License-Identifier: GPL-2.0-or-later

bootblock-y += bootblock.c

romstage-y += chromeos.c
romstage-y += ec.c
romstage-y += sku_id.c

ramstage-y += chromeos.c
ramstage-y += ec.c
ramstage-y += sku_id.c

ifeq ($(CONFIG_VBOOT_STARTS_BEFORE_BOOTBLOCK),y)
verstage-y += memlayout.ld
verstage-y += verstage.c
else
verstage-y += chromeos.c
verstage-y += ec.c
endif

smm-y += smihandler.c

subdirs-y += variants/baseboard
subdirs-y += spd

CPPFLAGS_common += -I$(src)/mainboard/$(MAINBOARDDIR)/variants/baseboard/include
CPPFLAGS_common += -I$(src)/mainboard/$(MAINBOARDDIR)/variants/baseboard/include/baseboard/acpi

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