summaryrefslogtreecommitdiff
path: root/net/Makefile
diff options
context:
space:
mode:
authorJoe Hershberger <joe.hershberger@ni.com>2012-05-23 07:57:58 +0000
committerJoe Hershberger <joe.hershberger@ni.com>2012-05-23 14:19:22 -0500
commiteafc8db0e35275330f43a4cf7b7ae8aba71c9728 (patch)
tree0f76700afacfdeab0feafbd787e32d347083a0fd /net/Makefile
parent806150063a6b98d7e757bd9f640af1755bb387fd (diff)
downloadu-boot-eafc8db0e35275330f43a4cf7b7ae8aba71c9728.tar.gz
u-boot-eafc8db0e35275330f43a4cf7b7ae8aba71c9728.tar.bz2
u-boot-eafc8db0e35275330f43a4cf7b7ae8aba71c9728.zip
net: Move MAC-seeded rand out of bootp.c
Make the MAC-seeded random number generator available to /net in general. MAC-seeded rand will be needed by link-local as well, so give it an interface. Signed-off-by: Joe Hershberger <joe.hershberger@ni.com> Acked-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'net/Makefile')
-rw-r--r--net/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/Makefile b/net/Makefile
index 0544f6bacd..5901046eea 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -31,6 +31,7 @@ COBJS-$(CONFIG_CMD_NET) += bootp.o
COBJS-$(CONFIG_CMD_DNS) += dns.o
COBJS-$(CONFIG_CMD_NET) += eth.o
COBJS-$(CONFIG_CMD_NET) += net.o
+COBJS-$(CONFIG_BOOTP_RANDOM_DELAY) += net_rand.o
COBJS-$(CONFIG_CMD_NFS) += nfs.o
COBJS-$(CONFIG_CMD_RARP) += rarp.o
COBJS-$(CONFIG_CMD_SNTP) += sntp.o