Patrick Georgi | c49d7a3 | 2020-05-08 22:50:46 +0200 | [diff] [blame] | 1 | ## SPDX-License-Identifier: GPL-2.0-only |
Maulik V Vaghela | dfc9917 | 2018-08-07 12:06:23 +0530 | [diff] [blame] | 2 | |
Maulik V Vaghela | dfc9917 | 2018-08-07 12:06:23 +0530 | [diff] [blame] | 3 | bootblock-y += bootblock.c |
| 4 | bootblock-$(CONFIG_CHROMEOS) += chromeos.c |
| 5 | |
| 6 | verstage-$(CONFIG_CHROMEOS) += chromeos.c |
| 7 | |
| 8 | romstage-$(CONFIG_CHROMEOS) += chromeos.c |
Lijian Zhao | f349672 | 2018-08-21 10:50:16 -0700 | [diff] [blame] | 9 | romstage-y += memory.c |
Maulik V Vaghela | dfc9917 | 2018-08-07 12:06:23 +0530 | [diff] [blame] | 10 | |
| 11 | ramstage-$(CONFIG_CHROMEOS) += chromeos.c |
| 12 | ramstage-y += mainboard.c |
Angel Pons | c8be094 | 2020-12-05 19:11:25 +0100 | [diff] [blame] | 13 | ramstage-$(CONFIG_SOC_INTEL_COMMON_BLOCK_HDA_VERB) += variants/$(VARIANT_DIR)/hda_verb.c |
Maulik V Vaghela | dfc9917 | 2018-08-07 12:06:23 +0530 | [diff] [blame] | 14 | |
| 15 | subdirs-y += variants/baseboard |
| 16 | CPPFLAGS_common += -I$(src)/mainboard/$(MAINBOARDDIR)/variants/baseboard/include |
| 17 | |
| 18 | subdirs-y += variants/$(VARIANT_DIR) |
Elyes Haouas | 12149ec | 2022-12-07 08:10:09 +0100 | [diff] [blame] | 19 | ifeq ($(CONFIG_BOARD_INTEL_COMETLAKE_RVPU)$(CONFIG_BOARD_INTEL_WHISKEYLAKE_RVP),y) |
Maulik V Vaghela | dfc9917 | 2018-08-07 12:06:23 +0530 | [diff] [blame] | 20 | CPPFLAGS_common += -I$(src)/mainboard/$(MAINBOARDDIR)/variants/$(VARIANT_DIR)/include |
Elyes Haouas | 12149ec | 2022-12-07 08:10:09 +0100 | [diff] [blame] | 21 | endif |