mb/google/brya: Create rull variant
[coreboot2.git] / src / mainboard / google / rex / Makefile.mk
blob8c60c591aa42e5cadfd4001c2e2596b11f2adb05
1 ## SPDX-License-Identifier: GPL-2.0-only
3 bootblock-y += bootblock.c
5 verstage-$(CONFIG_CHROMEOS) += chromeos.c
7 romstage-y += romstage.c
8 romstage-$(CONFIG_CHROMEOS) += chromeos.c
10 ramstage-y += mainboard.c
11 ramstage-$(CONFIG_CHROMEOS) += chromeos.c
12 ramstage-y += ec.c
14 smm-$(CONFIG_HAVE_SMI_HANDLER) += smihandler.c
16 BASEBOARD_DIR:=$(call strip_quotes,$(CONFIG_BASEBOARD_DIR))
18 subdirs-y += variants/baseboard/$(BASEBOARD_DIR)
19 subdirs-y += variants/$(VARIANT_DIR)
20 subdirs-y += variants/$(VARIANT_DIR)/memory
21 subdirs-$(CONFIG_HAVE_SPD_IN_CBFS) += spd
23 CPPFLAGS_common += -I$(src)/mainboard/$(MAINBOARDDIR)/variants/baseboard/include
24 CPPFLAGS_common += -I$(src)/mainboard/$(MAINBOARDDIR)/variants/baseboard/$(BASEBOARD_DIR)/include
25 CPPFLAGS_common += -I$(src)/mainboard/$(MAINBOARDDIR)/variants/$(VARIANT_DIR)/include