Skip to contentSkip to conversation

ARMV7: OMAP3: Fix build failure for igep0030 machine

PATCH New Enric Balletbo i Serra 2 participants 2 messages Nov 29, 2010

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARMV7: OMAP3: Fix build failure for igep0030 machine

Seems that if CONFIG_CMD_NET is undefined we should also undefine CONFIG_CMD_NFS, otherwise build fails with various undefined reference like:

net/libnet.o: In function `rpc_req':
u-boot/net/nfs.c:193: undefined reference to NetEthHdrSize' u-boot/net/nfs.c:202: undefined reference to NetSendUDPPacket' u-boot/net/nfs.c:203: undefined reference to NetTxPacket' u-boot/net/nfs.c:203: undefined reference to NetServerEther'

This patch adds the undef CONFIG_CMD_NFS in configuration file.

---
 include/configs/igep0030.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
include/configs/igep0030.h +1 -0
index d61793c..1325bfa 100644
@@ -110,6 +110,7 @@
 #define CONFIG_MTD_DEVICE
 
 #undef CONFIG_CMD_NET		/* bootp, tftpboot, rarpboot	*/
+#undef CONFIG_CMD_NFS		/* nfs				*/
 #undef CONFIG_CMD_FLASH		/* flinfo, erase, protect	*/
 #undef CONFIG_CMD_IMLS		/* List all found images	*/
 
Signature · 1 line
1.7.0.4
#1 lore raw

PATCH 1/1 ARMV7: OMAP3: Fix build failure for igep0030 machine

Quoted 25 lines

Seems that if CONFIG_CMD_NET is undefined we should also undefine CONFIG_CMD_NFS, otherwise build fails with various undefined reference like:

net/libnet.o: In function `rpc_req':
u-boot/net/nfs.c:193: undefined reference to NetEthHdrSize' u-boot/net/nfs.c:202: undefined reference to NetSendUDPPacket' u-boot/net/nfs.c:203: undefined reference to NetTxPacket' u-boot/net/nfs.c:203: undefined reference to NetServerEther'

This patch adds the undef CONFIG_CMD_NFS in configuration file.

---
 include/configs/igep0030.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
include/configs/igep0030.h +0 -0
index d61793c..1325bfa 100644

include/configs/igep0030.h line 116

Quoted 7 lines
include/configs/igep0030.h +1 -0
@@ -110,6 +110,7 @@
 #define CONFIG_MTD_DEVICE
 
 #undef CONFIG_CMD_NET		/* bootp, tftpboot, rarpboot	*/
+#undef CONFIG_CMD_NFS		/* nfs				*/
 #undef CONFIG_CMD_FLASH		/* flinfo, erase, protect	*/
 #undef CONFIG_CMD_IMLS		/* List all found images	*/
 

Pushed to u-boot-ti