diff --git a/boot/shim/Config.in b/boot/shim/Config.in index b0e549a51b..c4f1a9f317 100644 --- a/boot/shim/Config.in +++ b/boot/shim/Config.in @@ -1,8 +1,15 @@ -config BR2_TARGET_SHIM - bool "shim" +config BR2_PACKAGE_SHIM_ARCH_SUPPORTS + bool + default y if BR2_aarch64 || BR2_aarch64_be + default y if BR2_arm || BR2_armeb + default y if BR2_i386 + default y if BR2_x86_64 # it includes gnu-efi depends on BR2_PACKAGE_GNU_EFI_ARCH_SUPPORTS - depends on !BR2_mips64el + +config BR2_TARGET_SHIM + bool "shim" + depends on BR2_PACKAGE_SHIM_ARCH_SUPPORTS help Boot loader to chain-load signed boot loaders under Secure Boot.