From: Mike Frysinger <vapier@gentoo.org>
Date: Thu, 23 Dec 2010 04:26:08 +0000 (-0500)
Subject: Blackfin: bf537-minotaur/bf537-srv1: undefine nfs when net is disabled
X-Git-Tag: v2025.01-rc5-pxa1908~19586^2~23
X-Git-Url: http://git.dujemihanovic.xyz/html/index.html?a=commitdiff_plain;h=42246c3f2171d0687dd440eafc37af15435d2028;p=u-boot.git

Blackfin: bf537-minotaur/bf537-srv1: undefine nfs when net is disabled

Fixes a build error due to new partial linking logic.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
---

diff --git a/include/configs/bf537-minotaur.h b/include/configs/bf537-minotaur.h
index 86aa1f61e6..11929c77bf 100644
--- a/include/configs/bf537-minotaur.h
+++ b/include/configs/bf537-minotaur.h
@@ -156,6 +156,7 @@
 # define CONFIG_CMD_PING
 #else
 # undef CONFIG_CMD_NET
+# undef CONFIG_CMD_NFS
 #endif
 
 #define CONFIG_CMD_BOOTLDR
diff --git a/include/configs/bf537-srv1.h b/include/configs/bf537-srv1.h
index 7e9dd36bce..e8024d7a2c 100644
--- a/include/configs/bf537-srv1.h
+++ b/include/configs/bf537-srv1.h
@@ -156,6 +156,7 @@
 # define CONFIG_CMD_PING
 #else
 # undef CONFIG_CMD_NET
+# undef CONFIG_CMD_NFS
 #endif
 
 #define CONFIG_CMD_BOOTLDR