1 ## SPDX-License-Identifier: GPL-2.0-only
3 ramstage-y += vtxprintf.c printk.c vsprintf.c
4 ramstage-y += init.c console.c
7 ifeq ($(CONFIG_HWBASE_DEBUG_CB),y)
8 ramstage-$(CONFIG_RAMSTAGE_LIBHWBASE) += hw-debug_sink.ads
9 ramstage-$(CONFIG_RAMSTAGE_LIBHWBASE) += hw-debug_sink.adb
10 romstage-$(CONFIG_ROMSTAGE_LIBHWBASE) += hw-debug_sink.ads
11 romstage-$(CONFIG_ROMSTAGE_LIBHWBASE) += hw-debug_sink.adb
14 smm-$(CONFIG_DEBUG_SMI) += init.c console.c vtxprintf.c printk.c
18 ifneq ($(CONFIG_VBOOT_STARTS_BEFORE_BOOTBLOCK),y)
19 verstage-y += printk.c
20 verstage-y += console.c
25 verstage-y += vtxprintf.c vsprintf.c
27 romstage-y += vtxprintf.c printk.c vsprintf.c
28 romstage-y += init.c console.c
32 postcar-y += vtxprintf.c vsprintf.c
33 postcar-$(CONFIG_POSTCAR_CONSOLE) += printk.c
34 postcar-$(CONFIG_POSTCAR_CONSOLE) += init.c console.c
38 bootblock-$(CONFIG_BOOTBLOCK_CONSOLE) += printk.c
39 bootblock-y += vtxprintf.c vsprintf.c
40 bootblock-$(CONFIG_BOOTBLOCK_CONSOLE) += init.c console.c
44 decompressor-y += die.c