1 ## SPDX-License-Identifier: GPL-2.0-or-later
3 all-
$(CONFIG_CHROMEOS
) += chromeos.c
5 bootblock-y
+= bootblock.c
7 romstage-y
+= romstage.c
10 ramstage-y
+= mainboard.c
11 ramstage-
$(CONFIG_FW_CONFIG
) += fw_config.c
13 smm-
$(CONFIG_HAVE_SMI_HANDLER
) += smihandler.c
15 BASEBOARD_DIR
:=$(call strip_quotes
,$(CONFIG_BASEBOARD_DIR
))
17 subdirs-y
+= variants
/baseboard
/$(BASEBOARD_DIR
)
18 subdirs-y
+= variants
/baseboard
/$(BASEBOARD_DIR
)/memory
19 subdirs-y
+= variants
/$(VARIANT_DIR
)
20 subdirs-
$(CONFIG_HAVE_SPD_IN_CBFS
) += spd
22 CPPFLAGS_common
+= -I
$(src
)/mainboard
/$(MAINBOARDDIR
)/variants
/baseboard
/include
23 CPPFLAGS_common
+= -I
$(src
)/mainboard
/$(MAINBOARDDIR
)/variants
/baseboard
/$(BASEBOARD_DIR
)/include