Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Arnout Vandecappelle <arnout@mind.be>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] package/libopenssl does not support riscv32
Date: Thu, 4 Mar 2021 20:36:02 +0100	[thread overview]
Message-ID: <12e04566-0852-7096-c65d-ba1795b3f277@mind.be> (raw)
In-Reply-To: <20210304111432.1787074-1-yann.morin.1998@free.fr>

 Hi Yann,

On 04/03/2021 12:14, Yann E. MORIN wrote:

> Drop the default from the choice selection; it was anyway superfluous:
> the default of a choice, if left unspecified, is the first entry of the
> choice.

 Bikeshedding time!

 IMHO, it is still good to have an explicit default. Its effect remains exactly
the same (if the default cannot be selected due to missing dependencies, the
first available options will be chosen), but it makes it clear for the reader
what is the default, and it makes sure that inserting a new option or reordering
the options doesn't affect the default.

[snip]
>  config BR2_PACKAGE_HOSTAPD_WPA3
>  	bool "Enable WPA3 support"
> +	depends on BR2_PACKAGE_LIBOPENSSL_ARCH_SUPPORTS

 We normally add a comment of depends on. But I guess it's pretty obvious here.

>  	select BR2_PACKAGE_OPENSSL
>  	select BR2_PACKAGE_OPENSSL_FORCE_LIBOPENSSL
>  	help


[snip]
> diff --git a/package/tpm2-tss/Config.in b/package/tpm2-tss/Config.in
> index 2fc56dbd76..b1ab00dd38 100644
> --- a/package/tpm2-tss/Config.in
> +++ b/package/tpm2-tss/Config.in
> @@ -1,6 +1,7 @@
>  config BR2_PACKAGE_TPM2_TSS

 Unfortunately, TPM2_TSS is selected by ima-evm-utils, tpm2-abrmd, tpm2-pkcs11,
tpm2-tools, tpm2-totp. Fortunately, it doesn't recurse any further.

[snip]
>  config BR2_PACKAGE_WPA_SUPPLICANT_MESH_NETWORKING

 WPA_SUPPLICANT is selected by connman but fortunately no mesh or WPA3. We got
lucky there!


 With the propagation of the TPM2_TSS dependency (and for those, a comment
*should* be added), you can add my

 Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>

and apply directly to master.

 Regards,
 Arnout

>  	bool "Enable mesh networking"
>  	depends on BR2_PACKAGE_WPA_SUPPLICANT_AP_SUPPORT
> +	depends on BR2_PACKAGE_LIBOPENSSL_ARCH_SUPPORTS
>  	select BR2_PACKAGE_OPENSSL
>  	select BR2_PACKAGE_OPENSSL_FORCE_LIBOPENSSL
>  	help
> @@ -83,6 +84,7 @@ config BR2_PACKAGE_WPA_SUPPLICANT_WPS
>  
>  config BR2_PACKAGE_WPA_SUPPLICANT_WPA3
>  	bool "Enable WPA3 support"
> +	depends on BR2_PACKAGE_LIBOPENSSL_ARCH_SUPPORTS
>  	select BR2_PACKAGE_OPENSSL
>  	select BR2_PACKAGE_OPENSSL_FORCE_LIBOPENSSL
>  	help
> 

  reply	other threads:[~2021-03-04 19:36 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-04 11:14 [Buildroot] [PATCH] package/libopenssl does not support riscv32 Yann E. MORIN
2021-03-04 19:36 ` Arnout Vandecappelle [this message]
2021-03-04 21:42   ` Yann E. MORIN

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=12e04566-0852-7096-c65d-ba1795b3f277@mind.be \
    --to=arnout@mind.be \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox