summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShiji Yang2025-08-22 01:06:43 +0000
committerRobert Marko2025-08-22 09:24:43 +0000
commit5b3c82358971a4da1ad6d7a718692bdc03a38d12 (patch)
tree126671b30a5d8f71a297fd775380ae6cd1e8eb9e
parentaff2f096235b62cdccc47b9e453c318c8f90e1f6 (diff)
downloadopenwrt-5b3c82358971a4da1ad6d7a718692bdc03a38d12.tar.gz
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@outlook.com> Link: https://github.com/openwrt/openwrt/pull/19836 Signed-off-by: Robert Marko <robimarko@gmail.com>
-rw-r--r--package/boot/uboot-layerscape/Makefile3
1 files changed, 3 insertions, 0 deletions
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) \