From 5b3c82358971a4da1ad6d7a718692bdc03a38d12 Mon Sep 17 00:00:00 2001 From: Shiji Yang Date: Fri, 22 Aug 2025 09:06:43 +0800 Subject: [PATCH] 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 | ^~~~~~~~~~~~~~~~~ Fixes: c773c3f4d377 ("uboot-layerscape: bump to lf-6.12.20-2.0.0") Signed-off-by: Shiji Yang Link: https://github.com/openwrt/openwrt/pull/19836 Signed-off-by: Robert Marko --- 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 3fad12efe41..f97cdd9faf7 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) \ -- 2.47.2