Defining a symbol with 'menuconfig' just tells the menuconfig to display
any dependent symbols that immediately follow it in a separate menu.
'menuconfig' has no effect on symbol values.
Making a symbol that doesn't have any dependent symbols after it a
'menuconfig' should be avoided, because then you end up with an empty
menu, which is shown as e.g.
[*] Enable foo ---
This is how it would be shown if there were children but they all
happened to be invisible as well.
With a regular 'config', it turns into
[*] Enable foo
Change all pointless 'menuconfig's to 'config's.
See the section on 'menuconfig' on the Kconfig - Tips and Best Practices
page as well.
Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
14 lines
517 B
Plaintext
14 lines
517 B
Plaintext
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
config FAKE_ENTROPY_NATIVE_POSIX
|
|
bool "Native posix entropy driver"
|
|
depends on ARCH_POSIX
|
|
select ENTROPY_HAS_DRIVER
|
|
help
|
|
This option enables the test random number generator for the
|
|
native_posix board (ARCH_POSIX). This is based on the host random() API.
|
|
Note that this entropy generator is only meant for test purposes and does
|
|
not generate real entropy.
|
|
It actually generates always the same sequence of random numbers if
|
|
initialized with the same seed.
|