[openwrt/openwrt] uboot-layerscape: do not build efimkcapsule tool

LEDE Commits lede-commits at lists.infradead.org
Fri Aug 22 02:24:47 PDT 2025


robimarko pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/5b3c82358971a4da1ad6d7a718692bdc03a38d12

commit 5b3c82358971a4da1ad6d7a718692bdc03a38d12
Author: Shiji Yang <yangshiji66 at outlook.com>
AuthorDate: Fri Aug 22 09:06:43 2025 +0800

    uboot-layerscape: do not build efimkcapsule tool
    
    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 at outlook.com>
    Link: https://github.com/openwrt/openwrt/pull/19836
    Signed-off-by: Robert Marko <robimarko at gmail.com>
---
 package/boot/uboot-layerscape/Makefile | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/package/boot/uboot-layerscape/Makefile b/package/boot/uboot-layerscape/Makefile
index 3fad12efe4..f97cdd9faf 100644
--- a/package/boot/uboot-layerscape/Makefile
+++ b/package/boot/uboot-layerscape/Makefile
@@ -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) \




More information about the lede-commits mailing list