public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] mcc200 build fails (invalid #elif)
@ 2009-10-19  0:08 Mike Frysinger
  2009-10-19  7:20 ` Wolfgang Denk
  0 siblings, 1 reply; 4+ messages in thread
From: Mike Frysinger @ 2009-10-19  0:08 UTC (permalink / raw)
  To: u-boot

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [U-Boot] mcc200 build fails (invalid #elif)
  2009-10-19  0:08 [U-Boot] mcc200 build fails (invalid #elif) Mike Frysinger
@ 2009-10-19  7:20 ` Wolfgang Denk
  2009-10-19  7:28   ` [U-Boot] [PATCH] mcc200: fix build error Wolfgang Denk
  0 siblings, 1 reply; 4+ messages in thread
From: Wolfgang Denk @ 2009-10-19  7:20 UTC (permalink / raw)
  To: u-boot

Dear Mike Frysinger,

In message <200910182008.49667.vapier@gentoo.org> 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

-- 
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_

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [U-Boot] [PATCH] mcc200: fix build error
  2009-10-19  7:20 ` Wolfgang Denk
@ 2009-10-19  7:28   ` Wolfgang Denk
  2009-10-19  7:36     ` Wolfgang Denk
  0 siblings, 1 reply; 4+ messages in thread
From: Wolfgang Denk @ 2009-10-19  7:28 UTC (permalink / raw)
  To: u-boot

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

Signed-off-by: Wolfgang Denk <wd@denx.de>
---
 include/configs/mcc200.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/include/configs/mcc200.h b/include/configs/mcc200.h
index e5812ee..7ef6385 100644
--- a/include/configs/mcc200.h
+++ b/include/configs/mcc200.h
@@ -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
 
-- 
1.6.2.5

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [U-Boot] [PATCH] mcc200: fix build error
  2009-10-19  7:28   ` [U-Boot] [PATCH] mcc200: fix build error Wolfgang Denk
@ 2009-10-19  7:36     ` Wolfgang Denk
  0 siblings, 0 replies; 4+ messages in thread
From: Wolfgang Denk @ 2009-10-19  7:36 UTC (permalink / raw)
  To: u-boot

In message <1255937317-30777-1-git-send-email-wd@denx.de> you wrote:
> Fix compile error:
> include/configs/mcc200.h:401:6: error: #elif with no expression
> 
> Signed-off-by: Wolfgang Denk <wd@denx.de>
> ---
>  include/configs/mcc200.h |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)

Applied.

Best regards,

Wolfgang Denk

-- 
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_

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-10-19  7:36 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-19  0:08 [U-Boot] mcc200 build fails (invalid #elif) Mike Frysinger
2009-10-19  7:20 ` Wolfgang Denk
2009-10-19  7:28   ` [U-Boot] [PATCH] mcc200: fix build error Wolfgang Denk
2009-10-19  7:36     ` Wolfgang Denk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox