Patrick Georgi | 406313d | 2015-07-20 22:01:32 +0200 | [diff] [blame] | 1 | ## |
| 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 Georgi | 406313d | 2015-07-20 22:01:32 +0200 | [diff] [blame] | 15 | |
| 16 | subdirs-y += spd |
| 17 | |
Subrata Banik | 50b9258 | 2016-07-21 23:47:38 +0530 | [diff] [blame] | 18 | bootblock-y += bootblock_mainboard.c |
| 19 | |
Matt DeVillier | 0b9cfe6 | 2018-06-26 13:07:32 -0500 | [diff] [blame] | 20 | romstage-y += spd/spd.c |
Patrick Georgi | 406313d | 2015-07-20 22:01:32 +0200 | [diff] [blame] | 21 | |
Subrata Banik | 50b9258 | 2016-07-21 23:47:38 +0530 | [diff] [blame] | 22 | bootblock-$(CONFIG_CHROMEOS) += chromeos.c |
Aaron Durbin | cfd7f51 | 2015-10-07 16:12:58 -0500 | [diff] [blame] | 23 | verstage-$(CONFIG_CHROMEOS) += chromeos.c |
Patrick Georgi | 406313d | 2015-07-20 22:01:32 +0200 | [diff] [blame] | 24 | romstage-$(CONFIG_CHROMEOS) += chromeos.c |
| 25 | ramstage-$(CONFIG_CHROMEOS) += chromeos.c |
| 26 | |
| 27 | ramstage-$(CONFIG_EC_GOOGLE_CHROMEEC) += ec.c |
| 28 | |
Patrick Georgi | 406313d | 2015-07-20 22:01:32 +0200 | [diff] [blame] | 29 | ramstage-y += mainboard.c |
Patrick Georgi | 406313d | 2015-07-20 22:01:32 +0200 | [diff] [blame] | 30 | ramstage-y += ramstage.c |
| 31 | |
Kyösti Mälkki | 9265f89 | 2019-07-07 23:58:34 +0300 | [diff] [blame^] | 32 | smm-y += smihandler.c |
Matt DeVillier | 0b9cfe6 | 2018-06-26 13:07:32 -0500 | [diff] [blame] | 33 | |
| 34 | subdirs-y += variants/$(VARIANT_DIR) |
| 35 | CPPFLAGS_common += -I$(src)/mainboard/$(MAINBOARDDIR)/variants/baseboard/include |
| 36 | CPPFLAGS_common += -I$(src)/mainboard/$(MAINBOARDDIR)/variants/$(VARIANT_DIR)/include |