summaryrefslogtreecommitdiff
path: root/src/mainboard/google/rex/Makefile.inc
blob: cab45dfa2a1e538a7a5a67efc4ea2e11e5e6d1a8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
bootblock-y += bootblock.c

romstage-y += romstage.c

ramstage-y += mainboard.c
ramstage-y += ec.c

VARIANT_DIR:=$(call strip_quotes,$(CONFIG_VARIANT_DIR))
BASEBOARD_DIR:=$(call strip_quotes,$(CONFIG_BASEBOARD_DIR))

subdirs-y += variants/baseboard/$(BASEBOARD_DIR)
subdirs-y += variants/$(VARIANT_DIR)

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