From: Shiji Yang Date: Fri, 10 Apr 2026 11:02:03 +0000 (+0800) Subject: tools/mkimage: disable more unnecessary tools X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e249f79723c77f5570145a34b08c4ab610296c2a;p=thirdparty%2Fopenwrt.git tools/mkimage: disable more unnecessary tools It doesn't make sence to build unused tools. Signed-off-by: Shiji Yang Link: https://github.com/openwrt/openwrt/pull/22844 Signed-off-by: Nick Hainke --- diff --git a/tools/mkimage/Makefile b/tools/mkimage/Makefile index 9a6826b847f..d274106d7c4 100644 --- a/tools/mkimage/Makefile +++ b/tools/mkimage/Makefile @@ -28,7 +28,11 @@ define Host/Configure V=$(if $(findstring c,$(OPENWRT_VERBOSE)),1) \ tools-only_config - sed -i 's/CONFIG_TOOLS_MKEFICAPSULE=y/# CONFIG_TOOLS_MKEFICAPSULE is not set/' $(HOST_BUILD_DIR)/.config + $(HOST_BUILD_DIR)/scripts/config \ + --file $(HOST_BUILD_DIR)/.config \ + --disable TOOLS_KWBIMAGE \ + --disable TOOLS_LIBCRYPTO \ + --disable TOOLS_MKEFICAPSULE endef define Host/Compile