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:
committed by
Joe Hershberger
parent
6eed3786c6
commit
9ba9e85f3f
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user