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-748133cf9d7d6cf1f79f0f9ce13a9f327dd7a09f.tar.gz rockbox-748133cf9d7d6cf1f79f0f9ce13a9f327dd7a09f.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 @@ | |||
29 | #include "button.h" | 29 | #include "button.h" |
30 | #include "timefuncs.h" | 30 | #include "timefuncs.h" |
31 | 31 | ||
32 | #ifndef BOOTLOADER | ||
33 | |||
32 | static int line = 0; | 34 | static int line = 0; |
33 | 35 | ||
34 | /* | 36 | /* |
@@ -176,6 +178,11 @@ bool dbg_hw_info(void) | |||
176 | } | 178 | } |
177 | return true; | 179 | return true; |
178 | } | 180 | } |
181 | #endif | ||
182 | |||
183 | #ifdef BOOTLOADER | ||
184 | #define WITH_SERIAL | ||
185 | #endif | ||
179 | 186 | ||
180 | #ifdef WITH_SERIAL | 187 | #ifdef WITH_SERIAL |
181 | void serial_putc (const char c) | 188 | void serial_putc (const char c) |