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

Mike Frysinger vapier at gentoo.org
Thu Dec 23 05:26:59 CET 2010


Fixes a build error due to new partial linking logic.

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

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
-- 
1.7.3.4



More information about the U-Boot mailing list