diff options
author | Solomon Peachy <pizza@shaftnet.org> | 2020-08-30 21:56:11 -0400 |
---|---|---|
committer | Solomon Peachy <pizza@shaftnet.org> | 2020-08-30 21:56:11 -0400 |
commit | 748133cf9d7d6cf1f79f0f9ce13a9f327dd7a09f (patch) | |
tree | 83828c76e793ab6cc32515c7390b8369048e1f19 | |
parent | 8dadce5c4cc9564cfeb49f42ec83fd1727c9ccdb (diff) | |
download | rockbox-748133c.tar.gz rockbox-748133c.zip |
xduoox3: Fix bootloader build
Change-Id: Ia2f2dba4a263c82aebc7fab9da4ad69ef90565ea
-rw-r--r-- | firmware/target/mips/ingenic_jz47xx/debug-jz4760.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/firmware/target/mips/ingenic_jz47xx/debug-jz4760.c b/firmware/target/mips/ingenic_jz47xx/debug-jz4760.c index 3634a88f11..be921efa13 100644 --- a/firmware/target/mips/ingenic_jz47xx/debug-jz4760.c +++ b/firmware/target/mips/ingenic_jz47xx/debug-jz4760.c @@ -29,6 +29,8 @@ #include "button.h" #include "timefuncs.h" +#ifndef BOOTLOADER + static int line = 0; /* @@ -176,6 +178,11 @@ bool dbg_hw_info(void) } return true; } +#endif + +#ifdef BOOTLOADER +#define WITH_SERIAL +#endif #ifdef WITH_SERIAL void serial_putc (const char c) |