[PATCH 14/18] Make ASYMMETRIC_KEY_TYPE depend on FIT_SIGNATURE

AKASHI Takahiro takahiro.akashi at linaro.org
Tue Mar 1 05:22:47 CET 2022


Simon,

On Mon, Feb 28, 2022 at 12:08:31PM -0700, Simon Glass wrote:
> Add this dependency to avoid a build error if FIT_SIGNATURE is not
> enabled.

I doubt it.
With qemu_arm64_defconfig & ASYMMETRIC_KEY_TYPE & !FIT_SIGNATURE,
I don't see any build error on 2022.04-rc2.

-Takahiro Akashi

> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
> 
>  lib/crypto/Kconfig | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/lib/crypto/Kconfig b/lib/crypto/Kconfig
> index 6369bafac0..5c6e964862 100644
> --- a/lib/crypto/Kconfig
> +++ b/lib/crypto/Kconfig
> @@ -1,5 +1,6 @@
>  menuconfig ASYMMETRIC_KEY_TYPE
>  	bool "Asymmetric (public-key cryptographic) key Support"
> +	depends on FIT_SIGNATURE
>  	help
>  	  This option provides support for a key type that holds the data for
>  	  the asymmetric keys used for public key cryptographic operations such
> -- 
> 2.35.1.574.g5d30c73bfb-goog
> 


More information about the U-Boot mailing list