浏览代码

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>
Mike Frysinger 14 年之前
父节点
当前提交
42246c3f21
共有 2 个文件被更改,包括 2 次插入0 次删除
  1. 1 0
      include/configs/bf537-minotaur.h
  2. 1 0
      include/configs/bf537-srv1.h

+ 1 - 0
include/configs/bf537-minotaur.h

@@ -156,6 +156,7 @@
 # define CONFIG_CMD_PING
 # define CONFIG_CMD_PING
 #else
 #else
 # undef CONFIG_CMD_NET
 # undef CONFIG_CMD_NET
+# undef CONFIG_CMD_NFS
 #endif
 #endif
 
 
 #define CONFIG_CMD_BOOTLDR
 #define CONFIG_CMD_BOOTLDR

+ 1 - 0
include/configs/bf537-srv1.h

@@ -156,6 +156,7 @@
 # define CONFIG_CMD_PING
 # define CONFIG_CMD_PING
 #else
 #else
 # undef CONFIG_CMD_NET
 # undef CONFIG_CMD_NET
+# undef CONFIG_CMD_NFS
 #endif
 #endif
 
 
 #define CONFIG_CMD_BOOTLDR
 #define CONFIG_CMD_BOOTLDR