浏览代码

net: Fix build regression in cmd_pxe.c

Not all boards define an SOC.  As a result, we can't depend on that.

This was introduced in 39f985536d3f0df5dba32c15b64ba2b5d32dd296

Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
Joe Hershberger 12 年之前
父节点
当前提交
58d9ff936f
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      common/cmd_pxe.c

+ 2 - 0
common/cmd_pxe.c

@@ -27,7 +27,9 @@
 #define MAX_TFTP_PATH_LEN 127
 
 const char *pxe_default_paths[] = {
+#ifdef CONFIG_SYS_SOC
 	"default-" CONFIG_SYS_ARCH "-" CONFIG_SYS_SOC,
+#endif
 	"default-" CONFIG_SYS_ARCH,
 	"default",
 	NULL