blob: fd98cf73544e0d1be9546ba249cfd48b6edc7978 [file] [log] [blame]
Martin Rothf362bbd2023-08-04 12:24:24 -06001## SPDX-License-Identifier: GPL-2.0-only
2
Kyösti Mälkkib2d25962014-01-27 15:09:13 +02003ramstage-y += vtxprintf.c printk.c vsprintf.c
Kyösti Mälkki21333f92014-02-14 10:04:31 +02004ramstage-y += init.c console.c
Stefan Reinauerabc0c852010-11-22 08:09:50 +00005ramstage-y += post.c
6ramstage-y += die.c
Nico Huberc83239e2016-10-05 17:46:49 +02007ifeq ($(CONFIG_HWBASE_DEBUG_CB),y)
8ramstage-$(CONFIG_RAMSTAGE_LIBHWBASE) += hw-debug_sink.ads
9ramstage-$(CONFIG_RAMSTAGE_LIBHWBASE) += hw-debug_sink.adb
Jeremy Compostella50139d02022-12-01 15:07:51 -070010romstage-$(CONFIG_ROMSTAGE_LIBHWBASE) += hw-debug_sink.ads
11romstage-$(CONFIG_ROMSTAGE_LIBHWBASE) += hw-debug_sink.adb
Nico Huberc83239e2016-10-05 17:46:49 +020012endif
Uwe Hermann5ec2c2b2009-08-25 00:53:22 +000013
Kyösti Mälkki40760722014-02-27 19:30:18 +020014smm-$(CONFIG_DEBUG_SMI) += init.c console.c vtxprintf.c printk.c
Kyösti Mälkki60012ac2019-07-08 00:01:42 +030015smm-y += die.c
16smm-y += post.c
Stefan Reinauer5f0aefb2010-03-24 16:45:46 +000017
Martin Rothbaba3e92020-05-04 11:31:18 -060018ifneq ($(CONFIG_VBOOT_STARTS_BEFORE_BOOTBLOCK),y)
Aaron Durbinfd6fb262015-05-13 13:37:43 -050019verstage-y += printk.c
Daisuke Nojiribcc1d422014-06-19 19:16:24 -070020verstage-y += console.c
Martin Rothbaba3e92020-05-04 11:31:18 -060021endif
Aaron Durbin75c51d92015-09-29 16:31:20 -050022verstage-y += post.c
Daisuke Nojiribcc1d422014-06-19 19:16:24 -070023verstage-y += die.c
Martin Rothbaba3e92020-05-04 11:31:18 -060024verstage-y += init.c
25verstage-y += vtxprintf.c vsprintf.c
Daisuke Nojiribcc1d422014-06-19 19:16:24 -070026
Paul Menzel89411582017-04-19 15:09:57 +020027romstage-y += vtxprintf.c printk.c vsprintf.c
Kyösti Mälkki48713a12014-04-15 18:19:48 +030028romstage-y += init.c console.c
Stefan Reinauerabc0c852010-11-22 08:09:50 +000029romstage-y += post.c
30romstage-y += die.c
Uwe Hermann5ec2c2b2009-08-25 00:53:22 +000031
Patrick Rudolph31c4c7b2019-10-15 10:50:31 +020032postcar-y += vtxprintf.c vsprintf.c
33postcar-$(CONFIG_POSTCAR_CONSOLE) += printk.c
Aaron Durbinc7013932016-09-16 16:20:24 -050034postcar-$(CONFIG_POSTCAR_CONSOLE) += init.c console.c
Aaron Durbin7f8afe02016-03-18 12:21:23 -050035postcar-y += post.c
36postcar-y += die.c
37
Paul Menzel89411582017-04-19 15:09:57 +020038bootblock-$(CONFIG_BOOTBLOCK_CONSOLE) += printk.c
39bootblock-y += vtxprintf.c vsprintf.c
Kyösti Mälkki21333f92014-02-14 10:04:31 +020040bootblock-$(CONFIG_BOOTBLOCK_CONSOLE) += init.c console.c
Subrata Banik50b92582016-07-21 23:47:38 +053041bootblock-y += post.c
Alexandru Gagniuc90ca3412015-11-06 15:55:46 -080042bootblock-y += die.c
Julius Werner99f46832018-05-16 14:14:04 -070043
44decompressor-y += die.c