1 ## SPDX-License-Identifier: GPL-2.0-only
3 bootblock-y
+= bootblock.c
5 verstage-
$(CONFIG_CHROMEOS
) += chromeos.c
7 romstage-y
+= romstage.c
8 romstage-
$(CONFIG_CHROMEOS
) += chromeos.c
10 ramstage-y
+= mainboard.c
11 ramstage-
$(CONFIG_CHROMEOS
) += chromeos.c
13 ramstage-
$(CONFIG_SOC_INTEL_COMMON_BLOCK_HDA_VERB
) += variants
/$(VARIANT_DIR
)/hda_verb.c
15 smm-
$(CONFIG_HAVE_SMI_HANDLER
) += smihandler.c
17 BASEBOARD_DIR
:=$(call strip_quotes
,$(CONFIG_BASEBOARD_DIR
))
19 subdirs-y
+= variants
/baseboard
/$(BASEBOARD_DIR
)
20 subdirs-y
+= variants
/$(VARIANT_DIR
)
21 subdirs-y
+= variants
/$(VARIANT_DIR
)/memory
22 subdirs-
$(CONFIG_HAVE_SPD_IN_CBFS
) += spd
24 CPPFLAGS_common
+= -I
$(src
)/mainboard
/$(MAINBOARDDIR
)/variants
/baseboard
/include
25 CPPFLAGS_common
+= -I
$(src
)/mainboard
/$(MAINBOARDDIR
)/variants
/baseboard
/$(BASEBOARD_DIR
)/include
26 CPPFLAGS_common
+= -I
$(src
)/mainboard
/$(MAINBOARDDIR
)/variants
/$(VARIANT_DIR
)/include