[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20211015131946.13374-1-vegard.nossum@oracle.com>
Date: Fri, 15 Oct 2021 15:19:46 +0200
From: Vegard Nossum <vegard.nossum@...cle.com>
To: Ard Biesheuvel <ardb@...nel.org>
Cc: linux-efi@...r.kernel.org, linux-kernel@...r.kernel.org,
Vegard Nossum <vegard.nossum@...cle.com>,
Hans de Goede <hdegoede@...hat.com>
Subject: [PATCH] efi: select CRYPTO for EFI_EMBEDDED_FIRMWARE
Fix the following build warning:
WARNING: unmet direct dependencies detected for CRYPTO_LIB_SHA256
Depends on [n]: CRYPTO [=n]
Selected by [y]:
- EFI_EMBEDDED_FIRMWARE [=y] && EFI [=y]
Fixes: f0df68d5bae88 ("efi: Add embedded peripheral firmware support")
Cc: Hans de Goede <hdegoede@...hat.com>
Signed-off-by: Vegard Nossum <vegard.nossum@...cle.com>
---
drivers/firmware/efi/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/firmware/efi/Kconfig b/drivers/firmware/efi/Kconfig
index 2c3dac5ecb36d..f914da9845acc 100644
--- a/drivers/firmware/efi/Kconfig
+++ b/drivers/firmware/efi/Kconfig
@@ -248,6 +248,7 @@ endmenu
config EFI_EMBEDDED_FIRMWARE
bool
depends on EFI
+ select CRYPTO
select CRYPTO_LIB_SHA256
config UEFI_CPER
--
2.23.0.718.g5ad94255a8
Powered by blists - more mailing lists