mirror of
https://github.com/smaeul/u-boot.git
synced 2025-10-17 14:18:14 +01:00
lib: Kconfig dependencies for pseudo-random library
drivers/rng/sandbox_rng.c requires rand() to be defined but configuration option CONFIG_CONFIG_LIB_RAND selected in drivers/rng/Kconfig does not exist. test/lib/test_aes.c requires rand() to be defined. Fix the selection criteria for choice "Pseudo-random library support type". Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
This commit is contained in:
parent
1b27753a96
commit
1611235b85
@ -9,7 +9,6 @@ config DM_RNG
|
|||||||
config RNG_SANDBOX
|
config RNG_SANDBOX
|
||||||
bool "Sandbox random number generator"
|
bool "Sandbox random number generator"
|
||||||
depends on SANDBOX && DM_RNG
|
depends on SANDBOX && DM_RNG
|
||||||
select CONFIG_LIB_RAND
|
|
||||||
help
|
help
|
||||||
Enable random number generator for sandbox. This is an
|
Enable random number generator for sandbox. This is an
|
||||||
emulation of a rng device.
|
emulation of a rng device.
|
||||||
|
@ -150,7 +150,8 @@ config REGEX
|
|||||||
|
|
||||||
choice
|
choice
|
||||||
prompt "Pseudo-random library support type"
|
prompt "Pseudo-random library support type"
|
||||||
depends on NET_RANDOM_ETHADDR || RANDOM_UUID || CMD_UUID
|
depends on NET_RANDOM_ETHADDR || RANDOM_UUID || CMD_UUID || \
|
||||||
|
RNG_SANDBOX || UT_LIB && AES
|
||||||
default LIB_RAND
|
default LIB_RAND
|
||||||
help
|
help
|
||||||
Select the library to provide pseudo-random number generator
|
Select the library to provide pseudo-random number generator
|
||||||
|
Loading…
x
Reference in New Issue
Block a user