summaryrefslogtreecommitdiff
path: root/src/mainboard/intel/mtlrvp/Makefile.inc
blob: 56ec7bd7f550bbf1869dbc621c8dae90335698c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
## SPDX-License-Identifier: GPL-2.0-or-later

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

smm-$(CONFIG_HAVE_SMI_HANDLER) += smihandler.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