1 ## SPDX-License-Identifier: GPL-2.0-only
3 bootblock-y
+= bootblock.c
5 verstage-
$(CONFIG_CHROMEOS
) += chromeos.c
7 romstage-
$(CONFIG_CHROMEOS
) += chromeos.c
8 romstage-y
+= romstage.c
10 ramstage-
$(CONFIG_CHROMEOS
) += chromeos.c
11 ramstage-y
+= mainboard.c
14 BASEBOARD_DIR
:=$(call strip_quotes
,$(CONFIG_BASEBOARD_DIR
))
16 subdirs-y
+= variants
/baseboard
/$(BASEBOARD_DIR
)
17 subdirs-y
+= variants
/$(VARIANT_DIR
)
18 subdirs-y
+= variants
/$(VARIANT_DIR
)/memory
19 subdirs-
$(CONFIG_HAVE_SPD_IN_CBFS
) += spd
21 CPPFLAGS_common
+= -I
$(src
)/mainboard
/$(MAINBOARDDIR
)/variants
/baseboard
/include
22 CPPFLAGS_common
+= -I
$(src
)/mainboard
/$(MAINBOARDDIR
)/variants
/baseboard
/$(BASEBOARD_DIR
)/include
23 CPPFLAGS_common
+= -I
$(src
)/mainboard
/$(MAINBOARDDIR
)/variants
/$(VARIANT_DIR
)/include