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>
This commit is contained in:
Michal Simek
2015-05-25 11:37:22 +02:00
committed by Joe Hershberger
parent 6eed3786c6
commit 9ba9e85f3f
20 changed files with 4 additions and 18 deletions

View File

@@ -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.