Files
Fiona Klute fa32b20b10 package/uboot-tools: select p11-kit when building target mkeficapsule
Since upstream commit 0c716a157be460006a4b762625de329b5e36dbf9 (first
release: v2026.07) mkeficapsule supports PKCS#11 keys, and in turn
requires GnuTLS with PKCS#11 support.

Without it, building mkeficapsule for the target fails:

  HOSTLD  tools/mkeficapsule
/home/fiona/br-test-pkg/bootlin-armv5-uclibc/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/14.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: tools/mkeficapsule.o: in function `main':
mkeficapsule.c:(.text.startup+0x530): undefined reference to `gnutls_pkcs11_init'
/home/fiona/br-test-pkg/bootlin-armv5-uclibc/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/14.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: mkeficapsule.c:(.text.startup+0x544): undefined reference to `gnutls_pkcs11_add_provider'
/home/fiona/br-test-pkg/bootlin-armv5-uclibc/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/14.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: mkeficapsule.c:(.text.startup+0x5fc): undefined reference to `gnutls_pkcs11_obj_list_import_url4'
/home/fiona/br-test-pkg/bootlin-armv5-uclibc/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/14.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: mkeficapsule.c:(.text.startup+0x620): undefined reference to `gnutls_x509_crt_import_pkcs11'
/home/fiona/br-test-pkg/bootlin-armv5-uclibc/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/14.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: mkeficapsule.c:(.text.startup+0x1334): undefined reference to `gnutls_pkcs11_deinit'
collect2: error: ld returned 1 exit status

The error can be reproduced using "utils/test-pkg -c" with the
following config:

BR2_PACKAGE_UBOOT_TOOLS=y
BR2_PACKAGE_UBOOT_TOOLS_MKEFICAPSULE=y

For host-uboot-tools this was solved in Buildroot commit
6597563da7 "package/gnutls: add host
support for pkcs11" by unconditionally enabling PKCS#11 support for
host-gnutls. For the target a more fine-grained approach is desirable,
so instead select BR2_PACKAGE_P11_KIT if
BR2_PACKAGE_UBOOT_TOOLS_MKEFICAPSULE=y and propagate dependencies.

Signed-off-by: Fiona Klute <fiona.klute@gmx.de>
Signed-off-by: Julien Olivain <ju.o@free.fr>
2026-08-09 17:30:46 +02:00
..
2026-08-01 11:47:01 +02:00
2026-04-14 19:12:45 +02:00
2026-04-20 19:23:44 +02:00
2026-05-30 19:23:32 +02:00
2026-05-20 21:41:31 +02:00
2026-05-31 08:30:36 +02:00
2026-05-03 19:59:36 +02:00
2026-05-29 10:32:34 +02:00
2026-06-12 18:04:05 +02:00
2026-05-03 18:10:32 +02:00
2026-06-09 14:55:26 +02:00
2026-04-29 21:54:20 +02:00
2026-05-29 15:36:57 +02:00
2026-06-03 20:43:37 +02:00
2026-04-23 21:34:29 +02:00
2026-05-30 22:54:08 +02:00
2026-07-10 18:40:46 +02:00
2026-07-23 19:28:53 +02:00
2026-08-04 21:24:04 +02:00
2026-04-22 18:52:33 +02:00
2026-04-23 22:09:26 +02:00
2026-08-03 21:15:59 +02:00
2026-08-03 21:15:59 +02:00
2026-08-03 21:15:59 +02:00
2026-08-03 21:15:59 +02:00
2026-08-03 21:15:59 +02:00
2026-05-30 10:57:38 +02:00
2026-06-03 20:48:23 +02:00
2026-05-18 22:18:14 +02:00
2026-06-17 15:15:50 +02:00
2026-06-09 14:55:26 +02:00
2026-06-26 01:01:09 +02:00
2026-07-02 08:40:26 +02:00
2026-05-24 19:42:11 +02:00
2026-06-09 14:55:26 +02:00
2026-06-11 22:45:19 +02:00
2026-04-19 21:37:23 +02:00
2026-06-09 14:55:26 +02:00
2026-06-09 14:55:26 +02:00
2026-06-09 14:55:26 +02:00
2026-06-09 14:55:26 +02:00
2026-08-04 18:31:00 +02:00
2026-07-04 21:12:39 +02:00
2026-05-06 23:02:07 +02:00
2026-07-04 19:30:56 +02:00
2026-05-03 18:14:03 +02:00
2026-06-03 20:40:58 +02:00
2026-04-19 20:58:42 +02:00
2026-04-26 17:40:24 +02:00
2026-07-17 18:56:37 +02:00
2026-05-05 20:44:48 +02:00
2026-04-24 21:48:14 +02:00
2026-07-04 19:26:36 +02:00
2026-04-15 21:39:41 +02:00
2026-05-12 22:22:24 +02:00
2026-04-28 21:16:08 +02:00
2026-07-04 21:41:02 +02:00
2026-04-24 23:31:29 +02:00
2026-04-19 21:19:33 +02:00
2026-06-12 18:52:55 +02:00
2026-05-31 17:40:48 +02:00
2026-07-14 11:36:50 +02:00
2026-06-21 21:33:59 +02:00
2026-05-29 18:21:57 +02:00
2026-06-01 11:26:32 +02:00
2026-06-09 14:55:26 +02:00
2026-07-17 19:01:45 +02:00
2026-04-19 23:30:58 +02:00
2026-06-09 14:55:26 +02:00
2026-08-03 21:15:59 +02:00
2026-08-01 16:07:05 +02:00
2026-05-30 15:48:42 +02:00
2026-06-09 14:55:26 +02:00
2026-06-09 14:55:26 +02:00
2026-05-29 18:12:24 +02:00
2026-07-02 18:52:00 +02:00
2026-06-09 14:55:26 +02:00
2026-06-09 14:55:26 +02:00
2026-08-03 21:15:59 +02:00
2026-08-09 16:44:06 +02:00
2026-08-09 16:44:06 +02:00
2026-08-09 16:44:06 +02:00
2026-07-01 11:13:01 +02:00
2026-04-14 19:12:45 +02:00
2026-05-30 15:48:42 +02:00
2026-05-30 12:49:39 +02:00
2026-05-29 15:45:52 +02:00
2026-07-10 18:29:09 +02:00
2026-04-14 21:10:38 +02:00
2026-05-18 20:18:14 +02:00
2026-08-08 16:40:43 +02:00
2026-06-03 09:58:10 +02:00
2026-05-29 16:33:35 +02:00
2026-04-12 18:02:49 +02:00
2026-06-09 14:55:26 +02:00
2026-07-14 16:41:29 +02:00
2026-08-01 16:07:05 +02:00
2026-05-29 18:40:10 +02:00
2026-07-22 22:20:58 +02:00
2026-06-15 22:45:52 +02:00
2026-08-02 21:09:49 +02:00
2026-06-13 10:59:46 +02:00
2026-05-18 20:17:43 +02:00
2026-07-25 11:47:04 +02:00
2026-05-08 12:34:12 +02:00
2026-08-09 16:44:06 +02:00
2026-08-03 21:15:59 +02:00