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
@@ -20,8 +20,6 @@
|
||||
|
||||
#define BOOTP_VENDOR_MAGIC 0x63825363 /* RFC1048 Magic Cookie */
|
||||
|
||||
#if defined(CONFIG_CMD_NET)
|
||||
|
||||
#define TIMEOUT 5000UL /* Milliseconds before trying BOOTP again */
|
||||
#ifndef CONFIG_NET_RETRY_COUNT
|
||||
# define TIMEOUT_COUNT 5 /* # of timeouts before giving up */
|
||||
@@ -948,5 +946,3 @@ void DhcpRequest(void)
|
||||
BootpRequest();
|
||||
}
|
||||
#endif /* CONFIG_CMD_DHCP */
|
||||
|
||||
#endif /* CONFIG_CMD_NET */
|
||||
|
Reference in New Issue
Block a user