summaryrefslogtreecommitdiff
path: root/net/Kconfig
diff options
context:
space:
mode:
authorMichal Simek <michal.simek@xilinx.com>2015-05-25 11:37:22 +0200
committerJoe Hershberger <joe.hershberger@ni.com>2015-06-01 13:15:11 -0500
commit9ba9e85f3f1cc2e7d8b387a03c50eb067d915e0a (patch)
treed94908133d33c620ff9753d7601e3dc7ca3ed79e /net/Kconfig
parent6eed3786c68c8a49d2986ac4f9f6e3071b769d41 (diff)
net: Fix NET_RANDOM_ETHADDR dependencies
NET_RANDOM_ETHADDR depends on lib/rand.c. This patch adds dependency to Kconfig to ensure that library is also compiled. Remove the definitions from Blackfin boards' include/configs. Signed-off-by: Michal Simek <michal.simek@xilinx.com> Acked-by: Joe Hershberger <joe.hershberger@ni.com>
Diffstat (limited to 'net/Kconfig')
-rw-r--r--net/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/Kconfig b/net/Kconfig
index 524b7e4da2..9a9846e187 100644
--- a/net/Kconfig
+++ b/net/Kconfig
@@ -10,6 +10,7 @@ if NET
config NET_RANDOM_ETHADDR
bool "Random ethaddr if unset"
+ select LIB_RAND
help
Selecting this will allow the Ethernet interface to function
even when the ethaddr variable for that interface is unset.