Re: [PATCH] efi_loader: Select EVENT as well

Heinrich Schuchardt
2022-05-07T20:34:18Z

On 4/27/22 07:47, Jan Kiszka wrote:
> From: Jan Kiszka <jan.kiszka@siemens.com>
>
> Fixes
>
> WARNING: unmet direct dependencies detected for EVENT_DYNAMIC
> Depends on [n]: EVENT [=n]
> Selected by [y]:
> - EFI_LOADER [=y] && OF_LIBFDT [=y] && ...
>
> and the succeeding build breakage.
>
> Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>

Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>

> ---
> lib/efi_loader/Kconfig | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/lib/efi_loader/Kconfig b/lib/efi_loader/Kconfig
> index 6b245f50a72..1bfb9ddbda9 100644
> --- a/lib/efi_loader/Kconfig
> +++ b/lib/efi_loader/Kconfig
> @@ -15,6 +15,7 @@ config EFI_LOADER
> depends on !EFI_APP
> default y if !ARM || SYS_CPU = armv7 || SYS_CPU = armv8
> select DM_EVENT
> + select EVENT
> select EVENT_DYNAMIC
> select LIB_UUID
> imply PARTITION_UUIDS