net: pull CONFIG checks out of source and into makefile
Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
This commit is contained in:

committed by
Ben Warren

parent
4b142febff
commit
6ac59c5518
@@ -96,8 +96,6 @@
|
||||
#include "dns.h"
|
||||
#endif
|
||||
|
||||
#if defined(CONFIG_CMD_NET)
|
||||
|
||||
DECLARE_GLOBAL_DATA_PTR;
|
||||
|
||||
#ifndef CONFIG_ARP_TIMEOUT
|
||||
@@ -1872,8 +1870,6 @@ void copy_filename (char *dst, char *src, int size)
|
||||
*dst = '\0';
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
#if defined(CONFIG_CMD_NFS) || defined(CONFIG_CMD_SNTP) || defined(CONFIG_CMD_DNS)
|
||||
/*
|
||||
* make port a little random, but use something trivial to compute
|
||||
|
Reference in New Issue
Block a user