CBMEM CONSOLE: Enable coreboot CBMEM console.
[coreboot.git] / src / console / Makefile.inc
index 233f44508a9e88995a1178156a3196ce6af2829d..f3b875862e1ad7c5a7348643b11d6a158aa5b8e8 100644 (file)
@@ -1,14 +1,25 @@
-obj-y += printk.o
-obj-y += console.o
-obj-y += vtxprintf.o
-obj-y += vsprintf.o
-
-initobj-y += vtxprintf.o
-initobj-y += vsprintf.o
-
-driver-$(CONFIG_SERIAL_CONSOLE) += uart8250_console.o
-driver-$(CONFIG_USBDEBUG_DIRECT) += usbdebug_direct_console.o
-driver-$(CONFIG_CONSOLE_VGA) += vga_console.o
-driver-$(CONFIG_CONSOLE_BTEXT) += btext_console.o
-driver-$(CONFIG_CONSOLE_BTEXT) += font-8x16.o
-driver-$(CONFIG_CONSOLE_LOGBUF) += logbuf_console.o
+ramstage-y += printk.c
+ramstage-y += console.c
+ramstage-y += vtxprintf.c
+ramstage-y += vsprintf.c
+ramstage-y += post.c
+ramstage-y += die.c
+
+smm-y += printk.c
+smm-y += vtxprintf.c
+
+romstage-y += vtxprintf.c
+romstage-$(CONFIG_CACHE_AS_RAM) += console.c
+romstage-y += post.c
+romstage-y += die.c
+
+driver-$(CONFIG_CONSOLE_SERIAL8250) += uart8250_console.c
+driver-$(CONFIG_CONSOLE_SERIAL8250MEM) += uart8250mem_console.c
+driver-$(CONFIG_USBDEBUG) += usbdebug_console.c
+driver-$(CONFIG_CONSOLE_LOGBUF) += logbuf_console.c
+driver-$(CONFIG_CONSOLE_NE2K) += ne2k_console.c
+driver-$(CONFIG_CONSOLE_CBMEM) += cbmem_console.c
+
+
+$(obj)/console/console.ramstage.o : $(obj)/build.h
+$(obj)/console/console.romstage.o : $(obj)/build.h