blob: d98477118d50361eeab4aa75e9e20ee69d357376 [file] [log] [blame]
Lijian Zhaoc319bab2017-07-08 18:16:13 -07001##
2## This file is part of the coreboot project.
3##
4## Copyright (C) 2013 Google Inc.
5## Copyright (C) 2017 Intel Corporation.
6##
7## This program is free software; you can redistribute it and/or modify
8## it under the terms of the GNU General Public License as published by
9## the Free Software Foundation; version 2 of the License.
10##
11## This program is distributed in the hope that it will be useful,
12## but WITHOUT ANY WARRANTY; without even the implied warranty of
13## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14## GNU General Public License for more details.
15##
16
17subdirs-y += spd
18
zhaojohn53461ad2017-08-21 21:50:10 -040019bootblock-y += bootblock.c
20bootblock-$(CONFIG_CHROMEOS) += chromeos.c
21
Lijian Zhaoe1bdc6a2017-08-29 17:32:33 -070022verstage-$(CONFIG_CHROMEOS) += chromeos.c
23
24romstage-$(CONFIG_CHROMEOS) += chromeos.c
Rizwan Qureshi2488bea2018-09-18 22:53:44 +053025romstage-y += romstage_fsp_params.c
Lijian Zhaoe1bdc6a2017-08-29 17:32:33 -070026
27ramstage-$(CONFIG_CHROMEOS) += chromeos.c
John Zhaob8d66bb2017-10-20 17:44:24 -070028ramstage-y += mainboard.c
Lijian Zhaoe1bdc6a2017-08-29 17:32:33 -070029
Kyösti Mälkki9265f892019-07-07 23:58:34 +030030smm-y += smihandler.c
zhaojohn53461ad2017-08-21 21:50:10 -040031subdirs-y += variants/baseboard
32CPPFLAGS_common += -I$(src)/mainboard/$(MAINBOARDDIR)/variants/baseboard/include
33
Lijian Zhaoc319bab2017-07-08 18:16:13 -070034subdirs-y += variants/$(VARIANT_DIR)
35CPPFLAGS_common += -I$(src)/mainboard/$(MAINBOARDDIR)/variants/$(VARIANT_DIR)/include