ima: fix Kconfig dependencies

Fix the following build warning:
warning: (IMA) selects TCG_TPM which has unmet direct dependencies
(HAS_IOMEM && EXPERIMENTAL)

Suggested-by: Rajiv Andrade <[email protected]>
Signed-off-by: Fabio Estevam <[email protected]>
Signed-off-by: Rajiv Andrade <[email protected]>
Cc: <[email protected]>
Signed-off-by: Mimi Zohar <[email protected]>
This commit is contained in:
Fabio Estevam 2012-01-05 12:49:54 -02:00 • committed by Mimi Zohar
commit f4a0391dfa
2 changed files with 1 additions and 2 deletions

View file

@ -5,7 +5,6 @@
menuconfig TCG_TPM
tristate "TPM Hardware Support"
depends on HAS_IOMEM
depends on EXPERIMENTAL
select SECURITYFS
---help---
If you have a TPM security chip in your system, which

View file

@ -9,7 +9,7 @@ config IMA
select CRYPTO_HMAC
select CRYPTO_MD5
select CRYPTO_SHA1
select TCG_TPM if !S390 && !UML
select TCG_TPM if HAS_IOMEM && !UML
select TCG_TIS if TCG_TPM
help
The Trusted Computing Group(TCG) runtime Integrity