Refactor copy_and_run so that it uses a single code base instead of
[coreboot.git] / src / console / Config.lb
1 uses CONFIG_CONSOLE_SERIAL8250
2 uses CONFIG_USBDEBUG_DIRECT
3 uses CONFIG_CONSOLE_VGA
4 uses CONFIG_CONSOLE_BTEXT
5 uses CONFIG_CONSOLE_LOGBUF
6 uses CONFIG_USE_INIT
7 uses CONFIG_USE_PRINTK_IN_CAR
8
9 object printk.o
10 if CONFIG_CONSOLE_SERIAL8250
11         driver uart8250_console.o
12 end
13 if CONFIG_USBDEBUG_DIRECT
14         driver usbdebug_direct_console.o
15 end
16 if CONFIG_CONSOLE_VGA
17         driver vga_console.o
18 end
19 if CONFIG_CONSOLE_BTEXT
20         driver btext_console.o
21         driver font-8x16.o
22 end
23 if CONFIG_CONSOLE_LOGBUF
24         driver logbuf_console.o
25 end
26
27 object console.o
28 object vtxprintf.o
29 object vsprintf.o
30
31 initobject vtxprintf.o