tools/mkimage: disable more unnecessary tools

It doesn't make sence to build unused tools.

Signed-off-by: Shiji Yang <yangshiji66@outlook.com>
Link: https://github.com/openwrt/openwrt/pull/22844
Signed-off-by: Nick Hainke <vincent@systemli.org>
This commit is contained in:
Shiji Yang 2026-04-10 19:02:03 +08:00 committed by Nick Hainke
parent f2d684236f
commit e249f79723

View File

@ -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