subsys/random: Hide 'Random generator' choice when empty

Prevent the choice from showing up in the menu when none of the choice
symbols are visible.

Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
This commit is contained in:
Ulf Magnusson 2019-05-13 23:54:42 +02:00 committed by Kumar Gala
commit 635755891e

View file

@ -18,6 +18,7 @@ config TEST_RANDOM_GENERATOR
choice
prompt "Random generator"
default ENTROPY_DEVICE_RANDOM_GENERATOR
depends on ENTROPY_HAS_DRIVER || TEST_RANDOM_GENERATOR
config X86_TSC_RANDOM_GENERATOR
bool "x86 timestamp counter based number generator"