[linux-yocto] [kernel-cache][PATCH] features/tpm/tpm.cfg: fix dependency issue

Bruce Ashfield bruce.ashfield at windriver.com
Mon Oct 30 11:37:16 PDT 2017


On 2017-10-28 10:16 AM, lei.yang at windriver.com wrote:
> From: Lei Yang <Lei.Yang at windriver.com>
> 
> I got the warning from do_kernel_configcheck when buiding with features/tpm/tpm.scc
> 
> CONFIG_TCG_TIS_SPI depends on SPI from its Kconfig
> 
>    config TCG_TIS_SPI
> 	  <snip>
>            depends on SPI
>            select TCG_TIS_CORE
> 	  <snip>
> so add its depenency to satisfy the warning.

merged.

Bruce

> 
> Signed-off-by: Lei Yang <Lei.Yang at windriver.com>
> ---
>   features/tpm/tpm.cfg | 1 +
>   1 file changed, 1 insertion(+)
> 
> diff --git a/features/tpm/tpm.cfg b/features/tpm/tpm.cfg
> index 132c7b0..09ffc32 100644
> --- a/features/tpm/tpm.cfg
> +++ b/features/tpm/tpm.cfg
> @@ -3,6 +3,7 @@ CONFIG_TCG_TPM=y
>   CONFIG_HW_RANDOM_TPM=y
>   CONFIG_TCG_TIS_CORE=y
>   CONFIG_TCG_TIS=y
> +CONFIG_SPI=y
>   CONFIG_TCG_TIS_SPI=y
>   CONFIG_TCG_TIS_I2C_ATMEL=y
>   CONFIG_TCG_TIS_I2C_INFINEON=y
> 



More information about the linux-yocto mailing list