package/p11-kit: allow building host variant
PATCH v2 1/3 package/p11-kit: allow building host variant
---
(no changes since v1)
package/p11-kit/p11-kit.mk | 1 + 1 file changed, 1 insertion(+)
package/p11-kit/p11-kit.mk +1 -0
@@ -45,3 +45,4 @@ P11_KIT_CONF_OPTS += \ endif $(eval $(autotools-package)) +$(eval $(host-autotools-package))
Signature · 6 lines
2.43.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH v2 2/3 package/gnutls: allow enabling host-p11-kit support
Add a new BR2_PACKAGE_HOST_GNUTLS_P11_KIT option to enable the host-p11-kit dependency while preserving backward compatibility by keeping p11-kit support disabled by default.
---
Changes v1 -> v2:
- Explicitly enable p11-kit in case BR2_PACKAGE_HOST_GNUTLS_P11_KIT is enabled.
package/gnutls/Config.in | 3 +++ package/gnutls/gnutls.mk | 8 +++++++- 2 files changed, 10 insertions(+), 1 deletion(-)
package/gnutls/Config.in +3 -0
@@ -39,3 +39,6 @@ endif comment "gnutls needs a toolchain w/ wchar, dynamic library" depends on !BR2_USE_WCHAR || BR2_STATIC_LIBS + +config BR2_PACKAGE_HOST_GNUTLS_P11_KIT + bool
package/gnutls/gnutls.mk +7 -1
@@ -64,10 +64,16 @@ HOST_GNUTLS_CONF_OPTS = \ --disable-openssl-compatibility \ --without-brotli \ --without-idn \ - --without-p11-kit \ --without-zlib \ --without-zstd +ifeq ($(BR2_PACKAGE_HOST_GNUTLS_P11_KIT),y) +HOST_GNUTLS_DEPENDENCIES += host-p11-kit +HOST_GNUTLS_CONF_OPTS += --with-p11-kit +else +HOST_GNUTLS_CONF_OPTS += --without-p11-kit +endif + ifeq ($(BR2_PACKAGE_GNUTLS_OPENSSL),y) GNUTLS_LICENSE += , GPL-3.0+ (gnutls-openssl library) GNUTLS_LICENSE_FILES += COPYING
Signature · 6 lines
2.43.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Re: [Buildroot] [PATCH v2 2/3] package/gnutls: allow enabling host-p11-kit support
Hi Dario!
Am 09.07.26 um 15:17 schrieb Dario Binacchi:
Quoted 21 lines
Add a new
BR2_PACKAGE_HOST_GNUTLS_P11_KIToption to enable the host-p11-kit dependency while preserving backward compatibility by keeping p11-kit support disabled by default.Signed-off-by Dario Binacchi <[email protected]>---
Changes v1 -> v2:
- Explicitly enable p11-kit in caseBR2_PACKAGE_HOST_GNUTLS_P11_KITis enabled.package/gnutls/Config.in | 3 +++ package/gnutls/gnutls.mk | 8 +++++++- 2 files changed, 10 insertions(+), 1 deletion(-)package/gnutls/Config.in +0
-0
package/gnutls/Config.in endif · line 44
Quoted 6 lines
package/gnutls/Config.in +3
-0@@ -39,3 +39,6 @@ endif comment "gnutls needs a toolchain w/ wchar, dynamic library" depends on !BR2_USE_WCHAR || BR2_STATIC_LIBS + +config BR2_PACKAGE_HOST_GNUTLS_P11_KIT + bool
Thanks for the updated patch! Unfortunately I missed one important detail here: You're adding a host package option, so it should go into a Config.in.host file. Sorry about that!
On the other hand, p11-kit isn't a very heavy dependency, so we could also just add the dependency unconditionally for host-gnutls. I don't have a strong opinion either way.
Best regards,
Fiona
Quoted 12 lines
package/gnutls/gnutls.mk +0
-1@@ -64,10 +64,16 @@ HOST_GNUTLS_CONF_OPTS = \ --disable-openssl-compatibility \ --without-brotli \ --without-idn \ - --without-p11-kit \ --without-zlib \ --without-zstd
package/gnutls/gnutls.mk HOST_GNUTLS_CONF_OPTS = \ · line 79
Quoted 10 lines
package/gnutls/gnutls.mk +7
-0+ifeq ($(BR2_PACKAGE_HOST_GNUTLS_P11_KIT),y) +HOST_GNUTLS_DEPENDENCIES += host-p11-kit +HOST_GNUTLS_CONF_OPTS += --with-p11-kit +else +HOST_GNUTLS_CONF_OPTS += --without-p11-kit +endif + ifeq ($(BR2_PACKAGE_GNUTLS_OPENSSL),y) GNUTLS_LICENSE += , GPL-3.0+ (gnutls-openssl library) GNUTLS_LICENSE_FILES += COPYING
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Re: [Buildroot] [PATCH v2 2/3] package/gnutls: allow enabling host-p11-kit support
Hi Dario, everyone,
I noticed there was an older series from Vincent pending in patchwork to add p11-kit support in host-gnutls [1], which also sets HOST_P11_KIT_CONF_OPTS and _DEPENDENCIES.
So I've merged that, and then patch 3 from this series for the U-Boot 2026.07 update, and marked 1 & 2 as rejected.
Thank you for the patches, and sorry about the noise!
Best regards,
Fiona
[1] https://patchwork.ozlabs.org/project/buildroot/list/?series=507607
Am 10.07.26 um 23:58 schrieb Fiona Klute:
Quoted 50 lines
Hi Dario!
Am 09.07.26 um 15:17 schrieb Dario Binacchi:
Quoted 23 lines
Add a new
BR2_PACKAGE_HOST_GNUTLS_P11_KIToption to enable the host-p11-kit dependency while preserving backward compatibility by keeping p11-kit support disabled by default.Signed-off-by Dario Binacchi <[email protected]>---
Changes v1 -> v2:
- Explicitly enable p11-kit in caseBR2_PACKAGE_HOST_GNUTLS_P11_KITis enabled.package/gnutls/Config.in | 3 +++
package/gnutls/gnutls.mk| 8 +++++++-2 files changed, 10 insertions(+), 1 deletion(-)package/gnutls/Config.in +0
-0@@ -39,3 +39,6 @@ endifcomment "gnutls needs a toolchain w/ wchar, dynamic library" depends on !BR2_USE_WCHAR ||
BR2_STATIC_LIBSpackage/gnutls/Config.in endif · line 44
Quoted 3 lines
package/gnutls/Config.in +3
-0+ +config BR2_PACKAGE_HOST_GNUTLS_P11_KIT + boolThanks for the updated patch! Unfortunately I missed one important detail here: You're adding a host package option, so it should go into a Config.in.host file. Sorry about that!
On the other hand, p11-kit isn't a very heavy dependency, so we could also just add the dependency unconditionally for host-gnutls. I don't have a strong opinion either way.
Best regards,
FionaQuoted 13 lines
package/gnutls/gnutls.mk +0
-1@@ -64,10 +64,16 @@ HOST_GNUTLS_CONF_OPTS = \ --disable-openssl-compatibility \ --without-brotli \ --without-idn \ - --without-p11-kit \ --without-zlib \--without-zstd
package/gnutls/gnutls.mk +2
-0+ifeq ($(BR2_PACKAGE_HOST_GNUTLS_P11_KIT),y) +HOST_GNUTLS_DEPENDENCIES += host-p11-kit
Quoted 8 lines
Quoted 8 lines
package/gnutls/gnutls.mk +5
-0+HOST_GNUTLS_CONF_OPTS += --with-p11-kit +else +HOST_GNUTLS_CONF_OPTS += --without-p11-kit +endif +ifeq ($(BR2_PACKAGE_GNUTLS_OPENSSL),y)
GNUTLS_LICENSE+= , GPL-3.0+ (gnutls-openssl library)GNUTLS_LICENSE_FILES+= COPYING
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH v2 3/3 boot/uboot: bump to version 2026.07
In reply to Dario BinacchiRelease announcement:
https://lists.denx.de/pipermail/u-boot/2026-July/624082.html
Changelog:
https://github.com/u-boot/u-boot/compare/v2026.04...v2026.07
Select BR2_PACKAGE_HOST_GNUTLS_P11_KIT when U-Boot requires GnuTLS, since U-Boot 2026.07 adds PKCS#11 support to tools/mkeficapsule.
---
(no changes since v1)
boot/uboot/Config.in | 7 ++++--- boot/uboot/uboot.hash | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-)
boot/uboot/Config.in +4 -3
@@ -41,7 +41,7 @@ choice Select the specific U-Boot version you want to use config BR2_TARGET_UBOOT_LATEST_VERSION - bool "2026.04" + bool "2026.07" config BR2_TARGET_UBOOT_CUSTOM_VERSION bool "Custom version"
@@ -85,7 +85,7 @@ endif config BR2_TARGET_UBOOT_VERSION string - default "2026.04" if BR2_TARGET_UBOOT_LATEST_VERSION + default "2026.07" if BR2_TARGET_UBOOT_LATEST_VERSION default BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE \ if BR2_TARGET_UBOOT_CUSTOM_VERSION default "custom" if BR2_TARGET_UBOOT_CUSTOM_TARBALL
@@ -228,6 +228,7 @@ config BR2_TARGET_UBOOT_NEEDS_LZOP config BR2_TARGET_UBOOT_NEEDS_GNUTLS bool "U-Boot needs gnutls" + select BR2_PACKAGE_HOST_GNUTLS_P11_KIT help Select this option if your U-Boot board configuration requires gnutls to be available on the host. This is
@@ -368,7 +369,7 @@ config BR2_TARGET_UBOOT_USE_BINMAN help Use binman tool for generation and signing of boot images. - https://docs.u-boot.org/en/v2026.04/develop/package/binman.html + https://docs.u-boot.org/en/v2026.07/develop/package/binman.html menu "U-Boot binary format"
boot/uboot/uboot.hash +1 -1
@@ -1,3 +1,3 @@ # Locally computed: -sha256 ac7c04b8b7004923b00a4e5d6699c5df4d21233bac9fda690d8cfbc209fff2fd u-boot-2026.04.tar.bz2 +sha256 78e8bfc382fe388f9b55aa1daf8c563522a037779b5d4c349d1415e381f1243e u-boot-2026.07.tar.bz2 sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 Licenses/gpl-2.0.txt
Signature · 6 lines
2.43.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Re: [Buildroot] [PATCH v2 3/3] boot/uboot: bump to version 2026.07
Am 09.07.26 um 15:17 schrieb Dario Binacchi:
Quoted 10 lines
Release announcement:
https://lists.denx.de/pipermail/u-boot/2026-July/624082.htmlChangelog:
https://github.com/u-boot/u-boot/compare/v2026.04...v2026.07Select
BR2_PACKAGE_HOST_GNUTLS_P11_KITwhen U-Boot requires GnuTLS, since U-Boot 2026.07 adds PKCS#11 support totools/mkeficapsule.Signed-off-by Dario Binacchi <[email protected]>
Tested in Qemu (aarch64) and on RPi Zero 2W.
Quoted 52 lines
---
(no changes since v1)
boot/uboot/Config.in | 7 ++++--- boot/uboot/uboot.hash | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-)boot/uboot/Config.in +4
-3@@ -41,7 +41,7 @@ choice Select the specific U-Boot version you want to use config BR2_TARGET_UBOOT_LATEST_VERSION - bool "2026.04" + bool "2026.07" config BR2_TARGET_UBOOT_CUSTOM_VERSION bool "Custom version"@@ -85,7 +85,7 @@ endif config BR2_TARGET_UBOOT_VERSION string - default "2026.04" if BR2_TARGET_UBOOT_LATEST_VERSION + default "2026.07" if BR2_TARGET_UBOOT_LATEST_VERSION default BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE \ if BR2_TARGET_UBOOT_CUSTOM_VERSION default "custom" if BR2_TARGET_UBOOT_CUSTOM_TARBALL@@ -228,6 +228,7 @@ config BR2_TARGET_UBOOT_NEEDS_LZOP config BR2_TARGET_UBOOT_NEEDS_GNUTLS bool "U-Boot needs gnutls" + select BR2_PACKAGE_HOST_GNUTLS_P11_KIT help Select this option if your U-Boot board configuration requires gnutls to be available on the host. This is@@ -368,7 +369,7 @@ config BR2_TARGET_UBOOT_USE_BINMAN help Use binman tool for generation and signing of boot images. - https://docs.u-boot.org/en/v2026.04/develop/package/binman.html + https://docs.u-boot.org/en/v2026.07/develop/package/binman.html menu "U-Boot binary format"boot/uboot/uboot.hash +0
-0
boot/uboot/uboot.hash line 3
Quoted 4 lines
boot/uboot/uboot.hash +1
-1@@ -1,3 +1,3 @@ # Locally computed: -sha256 ac7c04b8b7004923b00a4e5d6699c5df4d21233bac9fda690d8cfbc209fff2fd u-boot-2026.04.tar.bz2 +sha256 78e8bfc382fe388f9b55aa1daf8c563522a037779b5d4c349d1415e381f1243e u-boot-2026.07.tar.bz2 sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 Licenses/gpl-2.0.txt
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot