Skip to contentSkip to conversation

mcc200 build fails (invalid #elif)

U-Boot New Mike Frysinger 2 participants 4 messages Oct 19, 2009

lore
Share & tools
lore
#0 lore raw

via MAKEALL:
Configuring for mcc200 board...
In file included from /usr/local/src/u-boot/blackfin/include/config.h:3,
from /usr/local/src/u-boot/blackfin/common/env_embedded.c:28:
/usr/local/src/u-boot/blackfin/include/configs/mcc200.h:401:6: error: #elif with no expression
-mike

#1 lore raw

Dear Mike Frysinger,

Quoted 6 lines · In message <[email protected]> you wrote:

via MAKEALL:
Configuring for mcc200 board...
In file included from /usr/local/src/u-boot/blackfin/include/config.h:3,
from /usr/local/src/u-boot/blackfin/common/env_embedded.c:28:
/usr/local/src/u-boot/blackfin/include/configs/mcc200.h:401:6: error: #elif with no expression

Thanks for pointing out. Fix follows.

Best regards,

Wolfgang Denk

Signature · 5 lines
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
That was the thing about deserts. They had their  own  gravity.  They
sucked you into the centre.           - Terry Pratchett, _Small Gods_
#2 lore raw

PATCH 1/1 mcc200: fix build error

Fix compile error:
include/configs/mcc200.h:401:6: error: #elif with no expression

---
 include/configs/mcc200.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
include/configs/mcc200.h +1 -1
index e5812ee..7ef6385 100644
@@ -398,7 +398,7 @@
 #define CONFIG_SYS_NS16550_COM1	(CONFIG_SYS_CS2_START | (CONFIG_QUART_CONSOLE - 1)<<5)
 #elif (CONFIG_QUART_CONSOLE > 4) && (CONFIG_QUART_CONSOLE < 9)
 #define CONFIG_SYS_NS16550_COM1	(CONFIG_SYS_CS1_START | (CONFIG_QUART_CONSOLE - 5)<<5)
-#elif
+#else
 #error "Wrong QUART expander number."
 #endif
 
Signature · 1 line
1.6.2.5
#3 lore raw

PATCH 1/1 mcc200: fix build error

Quoted 7 lines · In message <[email protected]> you wrote:

Fix compile error:
include/configs/mcc200.h:401:6: error: #elif with no expression

---
 include/configs/mcc200.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Applied.

Best regards,

Wolfgang Denk

Signature · 5 lines
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
That was the thing about deserts. They had their  own  gravity.  They
sucked you into the centre.           - Terry Pratchett, _Small Gods_