From: Syed Mohammed Khasim Date: Mon, 18 Jan 2010 19:37:26 +0530 Subject: [PATCH] Fix undefined reference to `getenv_IPaddr' for ARM Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de lib_arm/libarm.a(board.o): In function `start_armboot': /home/khasim/beagle/u-boot_mailing/u-boot-ti/lib_arm/board.c:361: undefined reference to `getenv_IPaddr' make: *** [u-boot] Error 1 Signed-off-by: Syed Mohammed Khasim --- lib_arm/board.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/lib_arm/board.c b/lib_arm/board.c index e148739..1336534 100644 --- a/lib_arm/board.c +++ b/lib_arm/board.c @@ -356,8 +356,10 @@ void start_armboot (void) serial_initialize(); #endif +#if defined(CONFIG_CMD_NET) /* IP Address */ gd->bd->bi_ip_addr = getenv_IPaddr ("ipaddr"); +#endif stdio_init (); /* get the devices list going. */ -- 1.5.6.3