diff --git a/package/uboot-tools/Config.in b/package/uboot-tools/Config.in index da6cd65252..b7fd6ff17d 100644 --- a/package/uboot-tools/Config.in +++ b/package/uboot-tools/Config.in @@ -68,17 +68,22 @@ config BR2_PACKAGE_UBOOT_TOOLS_MKIMAGE config BR2_PACKAGE_UBOOT_TOOLS_MKEFICAPSULE bool "mkeficapsule" - depends on !BR2_STATIC_LIBS # gnutls + depends on !BR2_STATIC_LIBS # gnutls, p11-kit + depends on BR2_TOOLCHAIN_HAS_THREADS # p11-kit + depends on BR2_USE_MMU # p11-kit depends on BR2_USE_WCHAR # gnutls select BR2_PACKAGE_GNUTLS + select BR2_PACKAGE_P11_KIT help Install the mkeficapsule tool on the target system The mkeficapsule tool from Das U-Boot bootloader, which allows generation of UEFI capsule binaries. -comment "mkeficapsule support needs a toolchain w/ wchar, dynamic library" - depends on !BR2_USE_WCHAR || BR2_STATIC_LIBS +comment "mkeficapsule support needs a toolchain w/ wchar, threads, dynamic library" + depends on BR2_USE_MMU + depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS \ + || BR2_STATIC_LIBS config BR2_PACKAGE_UBOOT_TOOLS_MKENVIMAGE bool "mkenvimage"