summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--common/Makefile1
-rw-r--r--pbl/console.c10
2 files changed, 11 insertions, 0 deletions
diff --git a/common/Makefile b/common/Makefile
index 282ddbca25..ee5dca7023 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 3875e2aafd..a9859ad162 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);
+}