[U-Boot] mcc200 build fails (invalid #elif)

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

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

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

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
participants (2)
-
Mike Frysinger
-
Wolfgang Denk