[PATCH] efi_loader: Select EVENT as well

AKASHI Takahiro takahiro.akashi at linaro.org
Wed Apr 27 07:55:31 CEST 2022


On Wed, Apr 27, 2022 at 07:47:15AM +0200, Jan Kiszka wrote:
> From: Jan Kiszka <jan.kiszka at 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 at siemens.com>
> ---
>  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

I wonder why DM_EVENT does not *select*, but implies EVENT.
Should any subsystem relying on DM_EVENT work without EVENT?
        -> Simon?

-Takahiro Akashi

>  	select EVENT_DYNAMIC
>  	select LIB_UUID
>  	imply PARTITION_UUIDS
> -- 
> 2.34.1


More information about the U-Boot mailing list