Commit d5e93b33 authored by Cai Huoqing's avatar Cai Huoqing Committed by Herbert Xu

hwrng: Kconfig - Add helper dependency on COMPILE_TEST

it's helpful to do a complie test in other platform(e.g.X86)
Signed-off-by: default avatarCai Huoqing <caihuoqing@baidu.com>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 04cb788e
...@@ -63,7 +63,7 @@ config HW_RANDOM_AMD ...@@ -63,7 +63,7 @@ config HW_RANDOM_AMD
config HW_RANDOM_ATMEL config HW_RANDOM_ATMEL
tristate "Atmel Random Number Generator support" tristate "Atmel Random Number Generator support"
depends on ARCH_AT91 && HAVE_CLK && OF depends on (ARCH_AT91 || COMPILE_TEST) && HAVE_CLK && OF
default HW_RANDOM default HW_RANDOM
help help
This driver provides kernel-side support for the Random Number This driver provides kernel-side support for the Random Number
...@@ -87,7 +87,7 @@ config HW_RANDOM_BA431 ...@@ -87,7 +87,7 @@ config HW_RANDOM_BA431
config HW_RANDOM_BCM2835 config HW_RANDOM_BCM2835
tristate "Broadcom BCM2835/BCM63xx Random Number Generator support" tristate "Broadcom BCM2835/BCM63xx Random Number Generator support"
depends on ARCH_BCM2835 || ARCH_BCM_NSP || ARCH_BCM_5301X || \ depends on ARCH_BCM2835 || ARCH_BCM_NSP || ARCH_BCM_5301X || \
ARCH_BCM_63XX || BCM63XX || BMIPS_GENERIC ARCH_BCM_63XX || BCM63XX || BMIPS_GENERIC || COMPILE_TEST
default HW_RANDOM default HW_RANDOM
help help
This driver provides kernel-side support for the Random Number This driver provides kernel-side support for the Random Number
...@@ -100,7 +100,7 @@ config HW_RANDOM_BCM2835 ...@@ -100,7 +100,7 @@ config HW_RANDOM_BCM2835
config HW_RANDOM_IPROC_RNG200 config HW_RANDOM_IPROC_RNG200
tristate "Broadcom iProc/STB RNG200 support" tristate "Broadcom iProc/STB RNG200 support"
depends on ARCH_BCM_IPROC || ARCH_BCM2835 || ARCH_BRCMSTB depends on ARCH_BCM_IPROC || ARCH_BCM2835 || ARCH_BRCMSTB || COMPILE_TEST
default HW_RANDOM default HW_RANDOM
help help
This driver provides kernel-side support for the RNG200 This driver provides kernel-side support for the RNG200
...@@ -165,7 +165,7 @@ config HW_RANDOM_IXP4XX ...@@ -165,7 +165,7 @@ config HW_RANDOM_IXP4XX
config HW_RANDOM_OMAP config HW_RANDOM_OMAP
tristate "OMAP Random Number Generator support" tristate "OMAP Random Number Generator support"
depends on ARCH_OMAP16XX || ARCH_OMAP2PLUS || ARCH_MVEBU || ARCH_K3 depends on ARCH_OMAP16XX || ARCH_OMAP2PLUS || ARCH_MVEBU || ARCH_K3 || COMPILE_TEST
default HW_RANDOM default HW_RANDOM
help help
This driver provides kernel-side support for the Random Number This driver provides kernel-side support for the Random Number
...@@ -179,7 +179,7 @@ config HW_RANDOM_OMAP ...@@ -179,7 +179,7 @@ config HW_RANDOM_OMAP
config HW_RANDOM_OMAP3_ROM config HW_RANDOM_OMAP3_ROM
tristate "OMAP3 ROM Random Number Generator support" tristate "OMAP3 ROM Random Number Generator support"
depends on ARCH_OMAP3 depends on ARCH_OMAP3 || COMPILE_TEST
default HW_RANDOM default HW_RANDOM
help help
This driver provides kernel-side support for the Random Number This driver provides kernel-side support for the Random Number
...@@ -298,7 +298,7 @@ config HW_RANDOM_INGENIC_TRNG ...@@ -298,7 +298,7 @@ config HW_RANDOM_INGENIC_TRNG
config HW_RANDOM_NOMADIK config HW_RANDOM_NOMADIK
tristate "ST-Ericsson Nomadik Random Number Generator support" tristate "ST-Ericsson Nomadik Random Number Generator support"
depends on ARCH_NOMADIK depends on ARCH_NOMADIK || COMPILE_TEST
default HW_RANDOM default HW_RANDOM
help help
This driver provides kernel-side support for the Random Number This driver provides kernel-side support for the Random Number
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment