[U-Boot] [PATCH] sparc: fix build error on gr_ep2s60 board

Masahiro Yamada yamada.masahiro at socionext.com
Tue May 26 03:58:31 CEST 2015


Commit 92ac52082140 (net: Remove all references to CONFIG_ETHADDR
and friends) accidentally dropped #endif.  Since then, gr_ep2s60
could not build.

scripts/kconfig/conf --silentoldconfig Kconfig
  CHK     include/config.h
  GEN     include/autoconf.mk
In file included from include/config.h:5:0,
                 from ./include/common.h:18:
include/configs/gr_ep2s60.h:15:0: error: unterminated #ifndef
 #ifndef __CONFIG_H__
 ^
make[1]: *** [include/autoconf.mk] Error 1

Signed-off-by: Masahiro Yamada <yamada.masahiro at socionext.com>
---

 include/configs/gr_ep2s60.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/configs/gr_ep2s60.h b/include/configs/gr_ep2s60.h
index 7c320ee..dd8653a 100644
--- a/include/configs/gr_ep2s60.h
+++ b/include/configs/gr_ep2s60.h
@@ -259,6 +259,7 @@
 
 /* USE GRETH Ethernet Driver */
 #define CONFIG_GRETH	1
+#endif
 
 #define CONFIG_PHY_ADDR	 0x00
 
-- 
1.9.1



More information about the U-Boot mailing list