]> Git Repo - buildroot-mgba.git/commitdiff
boot/shim: add BR2_PACKAGE_SHIM_ARCH_SUPPORTS
authorFabrice Fontaine <[email protected]>
Tue, 19 Apr 2022 20:01:22 +0000 (22:01 +0200)
committerArnout Vandecappelle (Essensium/Mind) <[email protected]>
Sat, 23 Apr 2022 15:01:43 +0000 (17:01 +0200)
Add BR2_PACKAGE_SHIM_ARCH_SUPPORTS as requested by Thomas Petazzoni in
https://patchwork.ozlabs.org/project/buildroot/patch/20220419121409.2055818[email protected]

Signed-off-by: Fabrice Fontaine <[email protected]>
[Arnout: reorder options according to check-package]
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <[email protected]>
boot/shim/Config.in

index b0e549a51b94b982f51ec601f2809f75155ca464..c4f1a9f317d2a22d999fb5ddc6bb1dc89fc9a7c7 100644 (file)
@@ -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.
This page took 0.034479 seconds and 4 git commands to generate.