diff options
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | 2020-01-19 21:28:12 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2020-01-25 20:04:36 +0300 |
commit | 1611235b858abe08f9267f1fa95bc7553aa8e644 (patch) | |
tree | 65f8f65a01cdf65dfd5e340359230041b6f846b8 /lib | |
parent | 1b27753a963071165e12afa4a7516096881184be (diff) | |
download | u-boot-1611235b858abe08f9267f1fa95bc7553aa8e644.tar.xz |
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>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Kconfig | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Kconfig b/lib/Kconfig index d040a87d26..ab6aff710d 100644 --- a/lib/Kconfig +++ b/lib/Kconfig @@ -150,7 +150,8 @@ config REGEX choice 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 help Select the library to provide pseudo-random number generator |