Kbuild: Change dependencies on DRV_RANDOM.
This commit changes the dependency schemme for DRV_RANDOM. This fix an issue that prevented the merge of this symbol as a config overlay. Change-Id: I734a5814af90b9c57355b78cc43f96f05c1afa96 Signed-off-by: Juan Manuel Cruz <juan.m.cruz.alcaraz@linux.intel.com>
This commit is contained in:
parent
8fc9de7acb
commit
3d2256e522
3 changed files with 2 additions and 3 deletions
|
@ -46,6 +46,4 @@ config DRV_RANDOM
|
||||||
help
|
help
|
||||||
This option enables the random number generator driver.
|
This option enables the random number generator driver.
|
||||||
|
|
||||||
if DRV_RANDOM
|
|
||||||
source "drivers/random/Kconfig"
|
source "drivers/random/Kconfig"
|
||||||
endif
|
|
||||||
|
|
|
@ -3,3 +3,4 @@ obj-$(CONFIG_DRV_SERIAL) += serial/
|
||||||
obj-$(CONFIG_DRV_TIMER) += timer/
|
obj-$(CONFIG_DRV_TIMER) += timer/
|
||||||
obj-$(CONFIG_DRV_INTCTL) += interrupt_controller/
|
obj-$(CONFIG_DRV_INTCTL) += interrupt_controller/
|
||||||
obj-$(CONFIG_DRV_PCI) += pci/
|
obj-$(CONFIG_DRV_PCI) += pci/
|
||||||
|
obj-$(CONFIG_DRV_RANDOM) += random/
|
||||||
|
|
|
@ -3,7 +3,7 @@ config TEST_RANDOM_GENERATOR
|
||||||
bool
|
bool
|
||||||
prompt "Non-random number generator"
|
prompt "Non-random number generator"
|
||||||
default n
|
default n
|
||||||
depends on !CUSTOM_RANDOM_GENERATOR
|
depends on !CUSTOM_RANDOM_GENERATOR && DRV_RANDOM
|
||||||
help
|
help
|
||||||
This option signifies that the kernel's random number APIs are
|
This option signifies that the kernel's random number APIs are
|
||||||
permitted to return values that are not truly random.
|
permitted to return values that are not truly random.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue