blob: da9de295213d5f9e9d2e247369813fc68bcf2327 [file] [log] [blame]
Patrick Georgi406313d2015-07-20 22:01:32 +02001##
2## This file is part of the coreboot project.
3##
4## Copyright (C) 2015 Google Inc.
5##
6## This program is free software; you can redistribute it and/or modify
7## it under the terms of the GNU General Public License as published by
8## the Free Software Foundation; version 2 of the License.
9##
10## This program is distributed in the hope that it will be useful,
11## but WITHOUT ANY WARRANTY; without even the implied warranty of
12## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13## GNU General Public License for more details.
14##
Patrick Georgi406313d2015-07-20 22:01:32 +020015
16subdirs-y += spd
17
Subrata Banik50b92582016-07-21 23:47:38 +053018bootblock-y += bootblock_mainboard.c
19
Matt DeVillier0b9cfe62018-06-26 13:07:32 -050020romstage-y += spd/spd.c
Patrick Georgi406313d2015-07-20 22:01:32 +020021
Subrata Banik50b92582016-07-21 23:47:38 +053022bootblock-$(CONFIG_CHROMEOS) += chromeos.c
Aaron Durbincfd7f512015-10-07 16:12:58 -050023verstage-$(CONFIG_CHROMEOS) += chromeos.c
Patrick Georgi406313d2015-07-20 22:01:32 +020024romstage-$(CONFIG_CHROMEOS) += chromeos.c
25ramstage-$(CONFIG_CHROMEOS) += chromeos.c
26
27ramstage-$(CONFIG_EC_GOOGLE_CHROMEEC) += ec.c
28
Patrick Georgi406313d2015-07-20 22:01:32 +020029ramstage-y += mainboard.c
Patrick Georgi406313d2015-07-20 22:01:32 +020030ramstage-y += ramstage.c
31
Kyösti Mälkki9265f892019-07-07 23:58:34 +030032smm-y += smihandler.c
Matt DeVillier0b9cfe62018-06-26 13:07:32 -050033
34subdirs-y += variants/$(VARIANT_DIR)
35CPPFLAGS_common += -I$(src)/mainboard/$(MAINBOARDDIR)/variants/baseboard/include
36CPPFLAGS_common += -I$(src)/mainboard/$(MAINBOARDDIR)/variants/$(VARIANT_DIR)/include