All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] boot/shim: add BR2_PACKAGE_SHIM_ARCH_SUPPORTS
@ 2022-04-19 20:01 Fabrice Fontaine
  2022-04-23 15:10 ` Arnout Vandecappelle
  0 siblings, 1 reply; 3+ messages in thread
From: Fabrice Fontaine @ 2022-04-19 20:01 UTC (permalink / raw)
  To: buildroot; +Cc: Fabrice Fontaine

Add BR2_PACKAGE_SHIM_ARCH_SUPPORTS as requested by Thomas Petazzoni in
https://patchwork.ozlabs.org/project/buildroot/patch/20220419121409.2055818-1-fontaine.fabrice@gmail.com

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
 boot/shim/Config.in | 13 ++++++++++---
 1 file changed, 10 insertions(+), 3 deletions(-)

diff --git a/boot/shim/Config.in b/boot/shim/Config.in
index b0e549a51b..a762ad9215 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
 	# 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.
-- 
2.35.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [Buildroot] [PATCH 1/1] boot/shim: add BR2_PACKAGE_SHIM_ARCH_SUPPORTS
  2022-04-19 20:01 [Buildroot] [PATCH 1/1] boot/shim: add BR2_PACKAGE_SHIM_ARCH_SUPPORTS Fabrice Fontaine
@ 2022-04-23 15:10 ` Arnout Vandecappelle
  2022-05-26  8:10   ` Peter Korsgaard
  0 siblings, 1 reply; 3+ messages in thread
From: Arnout Vandecappelle @ 2022-04-23 15:10 UTC (permalink / raw)
  To: Fabrice Fontaine, buildroot



On 19/04/2022 22:01, Fabrice Fontaine wrote:
> Add BR2_PACKAGE_SHIM_ARCH_SUPPORTS as requested by Thomas Petazzoni in
> https://patchwork.ozlabs.org/project/buildroot/patch/20220419121409.2055818-1-fontaine.fabrice@gmail.com
> 
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> ---
>   boot/shim/Config.in | 13 ++++++++++---
>   1 file changed, 10 insertions(+), 3 deletions(-)
> 
> diff --git a/boot/shim/Config.in b/boot/shim/Config.in
> index b0e549a51b..a762ad9215 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
>   	# 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

> -	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
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Buildroot] [PATCH 1/1] boot/shim: add BR2_PACKAGE_SHIM_ARCH_SUPPORTS
  2022-04-23 15:10 ` Arnout Vandecappelle
@ 2022-05-26  8:10   ` Peter Korsgaard
  0 siblings, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2022-05-26  8:10 UTC (permalink / raw)
  To: Arnout Vandecappelle; +Cc: Fabrice Fontaine, buildroot

>>>>> "Arnout" == Arnout Vandecappelle <arnout@mind.be> writes:

 > On 19/04/2022 22:01, Fabrice Fontaine wrote:
 >> Add BR2_PACKAGE_SHIM_ARCH_SUPPORTS as requested by Thomas Petazzoni in
 >> https://patchwork.ozlabs.org/project/buildroot/patch/20220419121409.2055818-1-fontaine.fabrice@gmail.com
 >> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
 >> ---
 >> boot/shim/Config.in | 13 ++++++++++---
 >> 1 file changed, 10 insertions(+), 3 deletions(-)
 >> diff --git a/boot/shim/Config.in b/boot/shim/Config.in
 >> index b0e549a51b..a762ad9215 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
 >> # 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.

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

-- 
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-05-26  8:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-19 20:01 [Buildroot] [PATCH 1/1] boot/shim: add BR2_PACKAGE_SHIM_ARCH_SUPPORTS Fabrice Fontaine
2022-04-23 15:10 ` Arnout Vandecappelle
2022-05-26  8:10   ` Peter Korsgaard

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.