[U-Boot] [PATCH 2/2] MIPS: lib_mips/board.c: Fix undefined "getenv_IPaddr" build error

Shinya Kuribayashi skuribay at pobox.com
Mon Jan 11 06:00:32 CET 2010


On 1/11/10 11:00 AM, Shinya Kuribayashi wrote:
> In the commit 6ac59c55 (net: pull CONFIG checks out of source and into
> makefile), net/net.o is changed to be built-in only when CONFIG_CMD_NET
> is enabled, while lib_mips/board.c has a reference to "getenv_IPaddr()
> left as-is.
>
> And now Micronas VCT Platinum AVC board builds (vct_platinumavc*_config)
> failed as follows, because they don't have ethernet support and disable
> CONFIG_CMD_NET option:
>
> lib_mips/libmips.a(board.o): In function `board_init_r':
> board.c:(.text+0x2e4): undefined reference to `getenv_IPaddr'
> make: *** [u-boot] Error 1

And I missed that this one will be fixed soon in a different way.
Please ignore this patch, thanks.


More information about the U-Boot mailing list