diff --git a/common/Makefile b/common/Makefile index 282ddbca2..ee5dca702 100644 --- a/common/Makefile +++ b/common/Makefile @@ -1,5 +1,6 @@ obj-y += memory.o obj-y += memory_display.o +pbl-$(CONFIG_PBL_CONSOLE) += memory_display.o obj-y += clock.o obj-y += console_common.o obj-y += startup.o diff --git a/pbl/console.c b/pbl/console.c index 3875e2aaf..a9859ad16 100644 --- a/pbl/console.c +++ b/pbl/console.c @@ -30,3 +30,13 @@ int pr_print(int level, const char *fmt, ...) return i; } + +int ctrlc(void) +{ + return 0; +} + +void console_putc(unsigned int ch, char c) +{ + putc_ll(c); +}