Patchwork [U-Boot] Blackfin: bf537-minotaur/bf537-srv1: undefine nfs when net is disabled

login
register
mail settings
Submitter Mike Frysinger
Date Dec. 23, 2010, 4:26 a.m.
Message ID <1293078419-5702-1-git-send-email-vapier@gentoo.org>
Download mbox | patch
Permalink /patch/76474/
State Accepted
Commit 42246c3f2171d0687dd440eafc37af15435d2028
Headers show

Comments

Mike Frysinger - Dec. 23, 2010, 4:26 a.m.
Fixes a build error due to new partial linking logic.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
---
 include/configs/bf537-minotaur.h |    1 +
 include/configs/bf537-srv1.h     |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)

Patch

diff --git a/include/configs/bf537-minotaur.h b/include/configs/bf537-minotaur.h
index 0ba29bc..cb13229 100644
--- a/include/configs/bf537-minotaur.h
+++ b/include/configs/bf537-minotaur.h
@@ -155,6 +155,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 559428f..81f43d5 100644
--- a/include/configs/bf537-srv1.h
+++ b/include/configs/bf537-srv1.h
@@ -155,6 +155,7 @@ 
 # define CONFIG_CMD_PING
 #else
 # undef CONFIG_CMD_NET
+# undef CONFIG_CMD_NFS
 #endif
 
 #define CONFIG_CMD_BOOTLDR