Skip to contentSkip to conversation

boot/shim: add BR2_PACKAGE_SHIM_ARCH_SUPPORTS

PATCH Applied Fabrice Fontaine 3 participants 3 messages Apr 19, 2022 – May 26, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 boot/shim: add BR2_PACKAGE_SHIM_ARCH_SUPPORTS

Add BR2_PACKAGE_SHIM_ARCH_SUPPORTS as requested by Thomas Petazzoni in
https://patchwork.ozlabs.org/project/buildroot/patch/[email protected]

---
 boot/shim/Config.in | 13 ++++++++++---
 1 file changed, 10 insertions(+), 3 deletions(-)
boot/shim/Config.in +10 -3
index b0e549a51b..a762ad9215 100644
@@ -1,8 +1,15 @@
-config BR2_TARGET_SHIM
-	bool "shim"
+config BR2_PACKAGE_SHIM_ARCH_SUPPORTS
+	bool
 	# it includes gnu-efi
 	depends on BR2_PACKAGE_GNU_EFI_ARCH_SUPPORTS
-	depends on !BR2_mips64el
+	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
+
+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.
Signature · 6 lines
2.35.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw
Quoted 13 lines · Fabrice Fontaine

Add BR2_PACKAGE_SHIM_ARCH_SUPPORTS as requested by Thomas Petazzoni in
https://patchwork.ozlabs.org/project/buildroot/patch/[email protected]

---
  boot/shim/Config.in | 13 ++++++++++---
  1 file changed, 10 insertions(+), 3 deletions(-)
boot/shim/Config.in +0 -0
index b0e549a51b..a762ad9215 100644

boot/shim/Config.in line 4

Quoted 6 lines
boot/shim/Config.in +2 -2
@@ -1,8 +1,15 @@
-config BR2_TARGET_SHIM
-	bool "shim"
+config BR2_PACKAGE_SHIM_ARCH_SUPPORTS
+	bool
  	# it includes gnu-efi
  	depends on BR2_PACKAGE_GNU_EFI_ARCH_SUPPORTS

depends comes after default (as reported by check-package).

Applied to master with that fixed, thanks.

Regards,
Arnout

boot/shim/Config.in line 15

Quoted 12 lines
boot/shim/Config.in +8 -1
-	depends on !BR2_mips64el
+	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
+
+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.

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

#2 lore raw
Quoted 23 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Arnout" == Arnout Vandecappelle <[email protected]> writes:

Quoted 16 lines · Fabrice Fontaine

Add BR2_PACKAGE_SHIM_ARCH_SUPPORTS as requested by Thomas Petazzoni in
https://patchwork.ozlabs.org/project/buildroot/patch/[email protected]

---
boot/shim/Config.in | 13 ++++++++++---

1 file changed, 10 insertions(+), 3 deletions(-)
boot/shim/Config.in +2 -2
index b0e549a51b..a762ad9215 100644
@@ -1,8 +1,15 @@
-config BR2_TARGET_SHIM
-	bool "shim"
+config BR2_PACKAGE_SHIM_ARCH_SUPPORTS
+	bool
 # it includes gnu-efi
Quoted 1 line

depends on BR2_PACKAGE_GNU_EFI_ARCH_SUPPORTS

depends comes after default (as reported by check-package).

Quoted 1 line

Applied to master with that fixed, thanks.

Committed to 2022.02.x with the same fix, thanks.

Signature · 5 lines
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot