Martin Roth | 8ebd8cc | 2023-08-04 12:16:41 -0600 | [diff] [blame] | 1 | ## SPDX-License-Identifier: GPL-2.0-only |
| 2 | |
Eric Lai | f6c52f4 | 2022-05-23 15:47:20 +0800 | [diff] [blame] | 3 | bootblock-y += bootblock.c |
| 4 | |
Eric Lai | 366fba2 | 2022-05-24 09:25:57 +0800 | [diff] [blame] | 5 | verstage-$(CONFIG_CHROMEOS) += chromeos.c |
| 6 | |
Eric Lai | f6c52f4 | 2022-05-23 15:47:20 +0800 | [diff] [blame] | 7 | romstage-y += romstage.c |
Eric Lai | 366fba2 | 2022-05-24 09:25:57 +0800 | [diff] [blame] | 8 | romstage-$(CONFIG_CHROMEOS) += chromeos.c |
Eric Lai | f6c52f4 | 2022-05-23 15:47:20 +0800 | [diff] [blame] | 9 | |
| 10 | ramstage-y += mainboard.c |
Eric Lai | 366fba2 | 2022-05-24 09:25:57 +0800 | [diff] [blame] | 11 | ramstage-$(CONFIG_CHROMEOS) += chromeos.c |
Eric Lai | 7c304f8 | 2022-05-24 10:01:49 +0800 | [diff] [blame] | 12 | ramstage-y += ec.c |
Eric Lai | f6c52f4 | 2022-05-23 15:47:20 +0800 | [diff] [blame] | 13 | |
Eric Lai | 8481056 | 2022-05-24 10:03:24 +0800 | [diff] [blame] | 14 | smm-$(CONFIG_HAVE_SMI_HANDLER) += smihandler.c |
| 15 | |
Eric Lai | 5c02779 | 2022-05-23 16:21:36 +0800 | [diff] [blame] | 16 | BASEBOARD_DIR:=$(call strip_quotes,$(CONFIG_BASEBOARD_DIR)) |
| 17 | |
Eric Lai | f6c52f4 | 2022-05-23 15:47:20 +0800 | [diff] [blame] | 18 | subdirs-y += variants/baseboard/$(BASEBOARD_DIR) |
Eric Lai | 5c02779 | 2022-05-23 16:21:36 +0800 | [diff] [blame] | 19 | subdirs-y += variants/$(VARIANT_DIR) |
Eric Lai | 67219f7 | 2022-06-01 11:19:39 +0800 | [diff] [blame] | 20 | subdirs-y += variants/$(VARIANT_DIR)/memory |
| 21 | subdirs-$(CONFIG_HAVE_SPD_IN_CBFS) += spd |
Eric Lai | f6c52f4 | 2022-05-23 15:47:20 +0800 | [diff] [blame] | 22 | |
| 23 | CPPFLAGS_common += -I$(src)/mainboard/$(MAINBOARDDIR)/variants/baseboard/include |
| 24 | CPPFLAGS_common += -I$(src)/mainboard/$(MAINBOARDDIR)/variants/baseboard/$(BASEBOARD_DIR)/include |
Eric Lai | 5c02779 | 2022-05-23 16:21:36 +0800 | [diff] [blame] | 25 | CPPFLAGS_common += -I$(src)/mainboard/$(MAINBOARDDIR)/variants/$(VARIANT_DIR)/include |