]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
uboot-layerscape: do not build efimkcapsule tool 19836/head
authorShiji Yang <yangshiji66@outlook.com>
Fri, 22 Aug 2025 01:06:43 +0000 (09:06 +0800)
committerRobert Marko <robimarko@gmail.com>
Fri, 22 Aug 2025 09:24:43 +0000 (11:24 +0200)
OpenWrt layerscape target does not use this command. If the host is
missing gnutls, this tool will fail to build. Fix build error:

tools/mkeficapsule.c:20:10: fatal error: gnutls/gnutls.h: No such file or directory
   20 | #include <gnutls/gnutls.h>
      |          ^~~~~~~~~~~~~~~~~

Fixes: c773c3f4d377 ("uboot-layerscape: bump to lf-6.12.20-2.0.0")
Signed-off-by: Shiji Yang <yangshiji66@outlook.com>
Link: https://github.com/openwrt/openwrt/pull/19836
Signed-off-by: Robert Marko <robimarko@gmail.com>
package/boot/uboot-layerscape/Makefile

index 3fad12efe418e5b8ccabf01eb9193139190c4553..f97cdd9faf7db1b398a21d2aca73504992a77bcd 100644 (file)
@@ -151,6 +151,9 @@ UBOOT_TARGETS := \
   fsl_ls1021a-twr-sdboot \
   fsl_ls1021a-iot-sdboot
 
+UBOOT_CUSTOMIZE_CONFIG := \
+       --disable TOOLS_MKEFICAPSULE
+
 define Build/InstallDev
        $(INSTALL_DIR) $(STAGING_DIR_IMAGE)
        $(INSTALL_DATA) $(PKG_BUILD_DIR)/$(UBOOT_IMAGE) \