>From 2c4b1fb1f5cbcb328c76f26d6a3cd7a60ed19dc5 Mon Sep 17 00:00:00 2001 From: Syed Mohammed Khasim <kha...@ti.com> Date: Mon, 18 Jan 2010 19:37:26 +0530 Subject: [PATCH] Fix undefined reference to `getenv_IPaddr' for ARM
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 <kha...@ti.com> --- 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 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot